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>
pull/2156/head
Morris Jobke 10 years ago
parent d03446a0ae
commit 43e22f4da4
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
  1. 2
      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

Loading…
Cancel
Save