}
\OC_App::setupBackgroundJobs($info['background-jobs']);
- \OC::$server->getSettingsManager()->setupSettings($info['settings']);
//run appinfo/install.php
if((!isset($data['noinstall']) or $data['noinstall']==false)) {
if (isset($appData['id'])) {
$config->setAppValue($app, 'ocsid', $appData['id']);
}
+
+ if(isset($info['settings']) && is_array($info['settings'])) {
+ self::loadApp($app, false);
+ \OC::$server->getSettingsManager()->setupSettings($info['settings']);
+ }
+
\OC_Hook::emit('OC_App', 'post_enable', array('app' => $app));
} else {
if(empty($appName) ) {