diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-11-16 12:55:34 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-11-16 12:55:34 +0100 |
commit | 43e22f4da42baebcbb29e582d1981dbc04b9913b (patch) | |
tree | 8f30bed47770c3ca86fe4eb80ac1e911b8551098 /lib/private/legacy | |
parent | d03446a0ae25a88b68df2bc2bf8d0c49e5473ea0 (diff) | |
download | nextcloud-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.php | 2 |
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 |