Delete a configuration key

@param string $key
The configuration key to delete
322070
public function delete($key)
    {
        if (isset($this->data[$key])) {
            unset($this->data[$key]);
            $this->root->updated = true;
            $this->root->update();
        }
    }
167612
public function delete($key)
    {
        if (!$this->enabled)
            return true;

        $this->Logger->debug("Delete key: {$key}");

        $apcMethod = $this->apcFuncPrefix.'_delete';
        return $apcMethod($this->key($key));
    }
125898
public function delete($key)
    {
        $this->master->getFilesystem()->delete($key);

        foreach ($this->slaves as $slave) {
            $slave->getFilesystem()->delete($key);
        }
    }
146285
public function remove($key) {
        $key = $this->formatKey($key);
        array_remove($this->headers, $key);
    }
264413
public function destroy(string $key)
    {
        $this->useRedis(function($resource, $redis) use($key){
            $redis->hdel($this->getStoreKey(), $key);
        });
    }
152907
public function remove($key): void
    {
        foreach ((array) $key as $key) {
            unset($_SESSION[$this->name][$key]);
        }
    }
1087018
public static function delete( $key ) {
		unset( self::$option[ self::$key ][ $key ] );
		return update_option( self::$name, self::$option );
	}
820925
public function remove($key)
    {
        $keyGen = $this->generateKey($key);
        $this->cache->remove($keyGen);
        @unlink($this->getFilePath($keyGen));
    }
772277
public function forget(string $key)
    {
        $cacheKey = $this->cacheKeys[$key] ?? null;
        if (!empty($cacheKey)) {
            Cache::forget($cacheKey);
        }
    }
44830
public function delete($key) {
        if (isset($_COOKIE[$key])) {
            unset($_COOKIE[$key]);
            setcookie($key, '', time() - 3600);
        }
    }
842332
public function remove($key)
    {
        $method = 'remove'.$key;

        if (method_exists($this, $method)) {
            $this->$method();
        } else {
            unset($this->metas[$key]);
        }
    }
402641
public function delete($key)
    {
        $keys = explode('.', $key);
        $key_string = '';
        foreach ($keys as $i => $_key) {
            $key_string = $key_string . ((is_numeric($_key) || $_key === '') ? "[{$_key}]" : "['{$_key}']");
        }
        $script = sprintf('unset($this->_params%s);', $key_string);
        eval($script);
    }
263900
public function remove($key)
    {
        if (!$this->isEnabled()) {
            return false;
        }

        return $this->server->delete($this->prefix . $key);
    }
22821
public function remove($key)
    {
        if (array_key_exists($key, $this->settings)) {
            unset($this->settings[$key]);
            return true;
        }
        return false;
    }
1152341
public function forget($key)
    {

        // remove item from DB
        $this->dbProvider->forget($key);

        // remove item from original config
        $this->origConfig->offsetUnset($key);

    }
474793
public function delete($key)
    {
        $sth = $this->pdo->prepare(
            "DELETE FROM sessions WHERE id = :id"
        );

        $sth->bindValue(':id', $key, \PDO::PARAM_INT);
        $sth->execute();
    }
269811
public function remove($key)
    {
        $key = str_replace('_', '-', strtolower($key));

        unset($this->headers[$key]);

        if ('cache-control' === $key) {
            $this->cacheControl = array();
        }
    }