aboutsummaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
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 61ec34e4523..cf25f4498a8 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -110,7 +110,7 @@ class Autoloader {
} elseif (strpos($class, 'OC_') === 0) {
$paths[] = \OC::$SERVERROOT . '/lib/private/legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
} elseif (strpos($class, 'OCA\\') === 0) {
- list(, $app, $rest) = explode('\\', $class, 3);
+ [, $app, $rest] = explode('\\', $class, 3);
$app = strtolower($app);
$appPath = \OC_App::getAppPath($app);
if ($appPath && stream_resolve_include_path($appPath)) {