summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-16 11:43:05 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-16 11:43:05 +0100
commit0c5adaddf8136116d560fe1b93838f98877880c7 (patch)
treeafd8388dd79932399035b04f6facf634f2744640 /lib
parenta649dff1795f6df7e70742bea5e45265903476d4 (diff)
downloadnextcloud-server-0c5adaddf8136116d560fe1b93838f98877880c7.tar.gz
nextcloud-server-0c5adaddf8136116d560fe1b93838f98877880c7.zip
Drop \OC\Memcache\Factory::create
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Memcache/Factory.php10
-rw-r--r--lib/public/ICacheFactory.php12
2 files changed, 0 insertions, 22 deletions
diff --git a/lib/private/Memcache/Factory.php b/lib/private/Memcache/Factory.php
index 6db9b1007ac..17ee2a58e04 100644
--- a/lib/private/Memcache/Factory.php
+++ b/lib/private/Memcache/Factory.php
@@ -156,16 +156,6 @@ class Factory implements ICacheFactory {
}
/**
- * @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
*
* @return bool
diff --git a/lib/public/ICacheFactory.php b/lib/public/ICacheFactory.php
index 51b2ff30c04..1da7da1e26b 100644
--- a/lib/public/ICacheFactory.php
+++ b/lib/public/ICacheFactory.php
@@ -35,18 +35,6 @@ namespace OCP;
*/
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
*
* @return bool