summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-06-11 00:34:03 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-06-11 00:34:03 +0200
commitff24554e76c6ccf7cdb4b5abd82fddaa8d82816c (patch)
tree7ebc6b28b376a7addbd6dfabb2eb6622fe4ba35d /lib
parent5ccacb9b38a920e7accfcc386c00f11a0cca4418 (diff)
downloadnextcloud-server-ff24554e76c6ccf7cdb4b5abd82fddaa8d82816c.tar.gz
nextcloud-server-ff24554e76c6ccf7cdb4b5abd82fddaa8d82816c.zip
Null -> NullCache
Diffstat (limited to 'lib')
-rw-r--r--lib/private/memcache/nullcache.php (renamed from lib/private/memcache/null.php)2
-rw-r--r--lib/private/server.php4
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/private/memcache/null.php b/lib/private/memcache/nullcache.php
index 982f7edc80f..77eadba4eba 100644
--- a/lib/private/memcache/null.php
+++ b/lib/private/memcache/nullcache.php
@@ -22,7 +22,7 @@
namespace OC\Memcache;
-class Null extends Cache implements \OCP\IMemcache {
+class NullCache extends Cache implements \OCP\IMemcache {
public function get($key) {
return null;
}
diff --git a/lib/private/server.php b/lib/private/server.php
index 8113080977f..6e4f1517c12 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -46,7 +46,6 @@ use OC\Lock\MemcacheLockingProvider;
use OC\Lock\NoopLockingProvider;
use OC\Mail\Mailer;
use OC\Memcache\ArrayCache;
-use OC\Memcache\Null as NullCache;
use OC\Http\Client\ClientService;
use OC\Security\CertificateManager;
use OC\Files\Node\Root;
@@ -57,7 +56,6 @@ use OC\Security\SecureRandom;
use OC\Diagnostics\NullEventLogger;
use OC\Security\TrustedDomainHelper;
use OCP\IServerContainer;
-use OCP\ISession;
use OC\Tagging\TagMapper;
/**
@@ -429,7 +427,7 @@ class Server extends SimpleContainer implements IServerContainer {
/** @var \OC\Memcache\Factory $memcacheFactory */
$memcacheFactory = $c->getMemCacheFactory();
$memcache = $memcacheFactory->createLocking('lock');
- if (!($memcache instanceof \OC\Memcache\Null)) {
+ if (!($memcache instanceof \OC\Memcache\NullCache)) {
return new MemcacheLockingProvider($memcache);
}
}