Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>tags/v22.0.0beta1
@@ -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 | |||
* |
@@ -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 | |||
* |