summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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