summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-11 16:37:11 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-11 16:37:11 +0200
commitce6ad5de25795e49564f3d4b53f52e13e1a52fc7 (patch)
treec0970223b9fffcb428744f0c54f33ea40237da03 /lib/private
parenta2f752bcf3abaecb553cb792fb776a844163900c (diff)
downloadnextcloud-server-ce6ad5de25795e49564f3d4b53f52e13e1a52fc7.tar.gz
nextcloud-server-ce6ad5de25795e49564f3d4b53f52e13e1a52fc7.zip
make sure shipped apps also setup their admin settings on a fresh install
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Installer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php
index eed97e18d94..1c45679cd32 100644
--- a/lib/private/Installer.php
+++ b/lib/private/Installer.php
@@ -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'];
}