summaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-10-22 11:16:08 +0200
committerAndreas Fischer <bantu@owncloud.com>2013-10-22 11:17:15 +0200
commitc85cc13d1ab926e6b75728ff45b84f4a53a724af (patch)
treea49765e65e1992c70810f342154ac83bc7651429 /lib/autoloader.php
parentdde832b76cf9dc17be03491e7130790269843d43 (diff)
downloadnextcloud-server-c85cc13d1ab926e6b75728ff45b84f4a53a724af.tar.gz
nextcloud-server-c85cc13d1ab926e6b75728ff45b84f4a53a724af.zip
Allow null as cache parameter (if no cache was found) and for cache removal.
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index 3228ca29b22..3451f799e18 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -150,7 +150,7 @@ class Autoloader {
* @brief Sets the optional low-latency cache for class to path mapping.
* @param \OC\Memcache\Cache $memoryCache Instance of memory cache.
*/
- public function setMemoryCache(\OC\Memcache\Cache $memoryCache) {
+ public function setMemoryCache(\OC\Memcache\Cache $memoryCache = null) {
$this->memoryCache = $memoryCache;
}
}