summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-11-16 12:55:34 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-11-16 12:55:34 +0100
commit43e22f4da42baebcbb29e582d1981dbc04b9913b (patch)
tree8f30bed47770c3ca86fe4eb80ac1e911b8551098 /lib/private/legacy
parentd03446a0ae25a88b68df2bc2bf8d0c49e5473ea0 (diff)
downloadnextcloud-server-43e22f4da42baebcbb29e582d1981dbc04b9913b.tar.gz
nextcloud-server-43e22f4da42baebcbb29e582d1981dbc04b9913b.zip
Add autoloader path for newly installed apps too
* followup to https://github.com/nextcloud/server/pull/2148 * problem noticed in https://github.com/nextcloud/files_antivirus/pull/11 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/legacy')
-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 c2ff9a5be3c..0d9adfa9d2b 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -376,6 +376,8 @@ class OC_App {
$config,
$l
);
+ $appPath = self::getAppPath($appId);
+ self::registerAutoloading($appId, $appPath);
$installer->installApp($appId);
} else {
// check for required dependencies