make sure shipped apps also setup their admin settings on a fresh install

This commit is contained in:
Arthur Schiwon 2016-08-11 16:37:11 +02:00 committed by Lukas Reschke
parent 09573dbbba
commit 10249f48f1
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 5 additions and 0 deletions

View 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'];
}