diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-01-09 13:54:50 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-01-09 13:54:50 +0100 |
commit | d50c7391d8e78c9555b073fb9ccc6a91d5da34bc (patch) | |
tree | 0aa9b6ea1c41dec5636429a7eed883e2fe05ef7a /lib/public | |
parent | 5a2a0426a6c01cffe88c80e0529931a323c699d9 (diff) | |
download | nextcloud-server-d50c7391d8e78c9555b073fb9ccc6a91d5da34bc.tar.gz nextcloud-server-d50c7391d8e78c9555b073fb9ccc6a91d5da34bc.zip |
Use $server->getMemCacheFactory() in ldap connection
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/cachefactory.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/cachefactory.php b/lib/public/cachefactory.php index bb49aea7f3a..1bb0ea3dd51 100644 --- a/lib/public/cachefactory.php +++ b/lib/public/cachefactory.php @@ -10,8 +10,17 @@ namespace OCP; interface CacheFactory{ /** + * Get a memory cache instance + * * @param string $prefix * @return $return \OCP\ICache */ public function create($prefix = ''); + + /** + * Check if a memory cache backend is available + * + * @return bool + */ + public function isAvailable(); } |