]> source.dussan.org Git - nextcloud-server.git/commitdiff
make sure shipped apps also setup their admin settings on a fresh install
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Thu, 11 Aug 2016 14:37:11 +0000 (16:37 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Tue, 16 Aug 2016 19:06:45 +0000 (21:06 +0200)
lib/private/Installer.php

index eed97e18d94ce7eea862b0124ca802527f9f42fe..1c45679cd32970eb504cb448683da21f54392c85 100644 (file)
@@ -593,6 +593,11 @@ class Installer {
 
                OC_App::setAppTypes($info['id']);
 
+               if(isset($info['settings']) && is_array($info['settings'])) {
+                       \OC_App::loadApp($app, false);
+                       \OC::$server->getSettingsManager()->setupSettings($info['settings']);
+               }
+
                return $info['id'];
        }