Browse Source

Allow null as cache parameter (if no cache was found) and for cache removal.

tags/v6.0.0beta3
Andreas Fischer 10 years ago
parent
commit
c85cc13d1a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/autoloader.php

+ 1
- 1
lib/autoloader.php View File

@@ -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;
}
}

Loading…
Cancel
Save