summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-11-16 12:09:39 +0100
committerGitHub <noreply@github.com>2016-11-16 12:09:39 +0100
commitd03446a0ae25a88b68df2bc2bf8d0c49e5473ea0 (patch)
tree233919de1560e8ba8e3eed527a36286ef3a7622c /lib
parent81e9836900139d2fda65fa833e735a62e637ab3b (diff)
parentd826e04757f98ef81bb5a435da4ab62bfe9e0d39 (diff)
downloadnextcloud-server-d03446a0ae25a88b68df2bc2bf8d0c49e5473ea0.tar.gz
nextcloud-server-d03446a0ae25a88b68df2bc2bf8d0c49e5473ea0.zip
Merge pull request #2148 from nextcloud/add_autoloader_before_enabling
Add autoloader before enabling apps
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 33b18c0c6a2..c2ff9a5be3c 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -381,6 +381,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);
}