diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-08-11 16:37:11 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-08-11 16:37:11 +0200 |
commit | ce6ad5de25795e49564f3d4b53f52e13e1a52fc7 (patch) | |
tree | c0970223b9fffcb428744f0c54f33ea40237da03 /lib/private/Installer.php | |
parent | a2f752bcf3abaecb553cb792fb776a844163900c (diff) | |
download | nextcloud-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/Installer.php')
-rw-r--r-- | lib/private/Installer.php | 5 |
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']; } |