function delete($key) { return $this->set($key, NULL, 0); }
768674
function set($value, $timeout = 600)
	{
		if(!($memcache = \B2\Cfg::get('memcached_instance')))
			return $this->last_value = $value;

//		$memcache = &new Memcache();
//		$memcache->connect(\B2\Cfg::get('memcached')) or debug_exit('Could not connect memcache');

		if($value = NULL || $timeout == 0)
			$memcache->delete($this->last_key);
		else
			$memcache->set($this->last_key, $value, true, $timeout);

	}
668313
public function delete($key) {
    // Sending of a key of 'null' or an unset value is a failure.
    if (is_null($key)) {
      return false;
    }

    $request = new MemcacheDeleteRequest();
    $response = new MemcacheDeleteResponse();

    $request->addItem()->setKey($key);

    try {
      ApiProxy::makeSyncCall('memcache', 'Delete', $request, $response);
    } catch (Error $e) {
      return false;
    }
    $status_list = $response->getDeleteStatusList();
    return $status_list[0] == DeleteStatusCode::DELETED;
  }
37902
public function delete($key)
	{
		if(!$this->exists($key)) {
			return false;
		}

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

		return true;
	}
1124353
public function delete($key)
    {
        $redis = is_object($this->_redis) ? $this->_redis : $this->_getRedis();
        $redis->delete($this->_prefix . $key);

        return $this;
    }
743275
public function delete(string $key): bool
    {
        $func = self::$type . '_delete';
        $func($key);
        return parent::delete($key);
    }
137521
function delete($key) {
        parent::delete($key);
        if($this !== $this->client->channels) {
            $this->client->channels->delete($key);
        }
        
        return $this;
    }
1299143
public function delete($key)
    {
        if ($this->has($key)) {
            return shm_remove_var($this->shm, $this->shm_key($key));
        } else {
            return false;
        }
    }
10116
public function delete($key)
    {
        if (!$this->enabled)
            return true;

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

        $ret = @$this->getConnection()->delete($this->key($key));

        $this->Logger->debug("". (($ret) ? "Successful" : "Failed to") . " delete '{$key}'\n");

        return $ret;
    }
656493
public function forget($key = null)
    {
        $key = $key ?: $this->getCacheKey();

        $cache = $this->getCache();

        return $cache->forget($key);
    }
1229798
public function delete($key) {
        if ($this->clustered) {
            $status = true;
            foreach ($this->setconnections as $connection) {
                $status = $connection->delete($key) && $status;
            }
            return $status;
        }

        return $this->connection->delete($key);
    }
1371351
public function remove($key)
    {
        if (isset($_SESSION[$this->name][$key])) {
            $value = $_SESSION[$this->name][$key];
            unset($_SESSION[$this->name][$key]);
            return $value;
        }

        return null;
    }
1020333
public function delete($key)
    {
        $file = $this->getFilePath($key);

        if (\is_dir($file)) {
            $this->clearDir($file);
            $deleted = \rmdir($file);
        } elseif (\file_exists($file)) {
            $deleted = \unlink($file);
        } else {
            $deleted = false;
        }

        if ($deleted) {
            $this->catalogKeyDelete($key);
        }

        return $deleted;
    }
1295908
public function delete($key)
    {
        $query = sprintf('DELETE FROM `%s` WHERE `key` = :key', $this->table);
        $stmt = $this->pdo->prepare($query);

        return $stmt->execute(array(
            ':'.ConstProviderInterface::CACHE_PARAM_KEY => $key,
        ));
    }
69226
public function delete($key)
    {
        $fileName = $this->getFileName($key);
        return (is_file($fileName) && unlink($fileName));
    }
1218419
public function delete($key = '')
    {
        $nodeList = $this->mainNode->getByKey($key);
        if (empty($nodeList)) {
            true;
        }

        foreach ($nodeList as $node) {
            $node->delete();
        }

        unset($node);

        return true;
    }
929288
public function del($key)
    {
        if (is_string($key)) {
            $key = [$key];
        }

        return $this->getConnection()->del($key);
    }
864295
public function delete($key): bool
    {
        if ($this->has($key)) {
            $this->unset($key);
            return true;
        }

        return false;
    }