]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add autoloader path for newly installed apps too 2156/head
authorMorris Jobke <hey@morrisjobke.de>
Wed, 16 Nov 2016 11:55:34 +0000 (12:55 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 16 Nov 2016 11:55:34 +0000 (12:55 +0100)
* 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>
lib/private/legacy/app.php

index c2ff9a5be3c07b344c066238bcc32ff22560252f..0d9adfa9d2bf7d070a7b0c58f51cc14b3dcba410 100644 (file)
@@ -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