Drop \OC\Memcache\Factory::create

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2021-02-16 11:43:05 +01:00
parent a649dff179
commit 0c5adaddf8
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
2 changed files with 0 additions and 22 deletions

View File

@ -155,16 +155,6 @@ class Factory implements ICacheFactory {
return new $this->localCacheClass($this->globalPrefix . '/' . $prefix);
}
/**
* @see \OC\Memcache\Factory::createDistributed()
* @param string $prefix
* @return ICache
* @deprecated 13.0.0 Use either createLocking, createDistributed or createLocal
*/
public function create(string $prefix = ''): ICache {
return $this->createDistributed($prefix);
}
/**
* check memcache availability
*

View File

@ -34,18 +34,6 @@ namespace OCP;
* @since 7.0.0
*/
interface ICacheFactory {
/**
* Get a distributed memory cache instance
*
* All entries added trough the cache instance will be namespaced by $prefix to prevent collisions between apps
*
* @param string $prefix
* @return ICache
* @since 7.0.0
* @deprecated 13.0.0 Use either createLocking, createDistributed or createLocal
*/
public function create(string $prefix = ''): ICache;
/**
* Check if any memory cache backend is available
*