Browse Source

Drop \OC\Memcache\Factory::create

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tags/v22.0.0beta1
Christoph Wurst 3 years ago
parent
commit
0c5adaddf8
No account linked to committer's email address
2 changed files with 0 additions and 22 deletions
  1. 0
    10
      lib/private/Memcache/Factory.php
  2. 0
    12
      lib/public/ICacheFactory.php

+ 0
- 10
lib/private/Memcache/Factory.php 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
*

+ 0
- 12
lib/public/ICacheFactory.php 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
*

Loading…
Cancel
Save