summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-15 22:28:57 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-15 22:28:57 +0100
commitd826e04757f98ef81bb5a435da4ab62bfe9e0d39 (patch)
tree5f444988337401d22e9861611e3ee8a35227c287 /lib
parent28babd319b0322a06d5019f373c7ce6d9edf61dd (diff)
downloadnextcloud-server-d826e04757f98ef81bb5a435da4ab62bfe9e0d39.tar.gz
nextcloud-server-d826e04757f98ef81bb5a435da4ab62bfe9e0d39.zip
Add autoloader before enabling apps
Else apps that require already autoloading in the installer (files_antivius) die hard! Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/app.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index a89a4650c5d..43dd3f54d84 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -364,6 +364,8 @@ class OC_App {
// check for required dependencies
$info = self::getAppInfo($appId);
self::checkAppDependencies($config, $l, $info);
+ $appPath = self::getAppPath($appId);
+ self::registerAutoloading($appId, $appPath);
$installer->installApp($appId);
}