Merge pull request #2148 from nextcloud/add_autoloader_before_enabling

Add autoloader before enabling apps
This commit is contained in:
Roeland Jago Douma 2016-11-16 12:09:39 +01:00 committed by GitHub
commit d03446a0ae
1 changed files with 2 additions and 0 deletions

View File

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