summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/autoloader.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index b0dc8904098..3228ca29b22 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -133,10 +133,10 @@ class Autoloader {
$pathsToRequire[] = $fullPath;
}
}
- }
- if ($this->memoryCache) {
- $this->memoryCache->set($class, $pathsToRequire, 60); // cache 60 sec
+ if ($this->memoryCache) {
+ $this->memoryCache->set($class, $pathsToRequire, 60); // cache 60 sec
+ }
}
foreach ($pathsToRequire as $fullPath) {