diff options
author | Joas Schilling <coding@schilljs.com> | 2018-01-29 13:14:56 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-29 15:47:37 +0100 |
commit | d971b104edc51ddf3819eded837de97357c3b395 (patch) | |
tree | 319d28bad58c1bd83c150950679fb4fa4a8369ef /lib/private/Installer.php | |
parent | 01482b32a171bb8529bc8baacbe764107e52e14c (diff) | |
download | nextcloud-server-d971b104edc51ddf3819eded837de97357c3b395.tar.gz nextcloud-server-d971b104edc51ddf3819eded837de97357c3b395.zip |
Do not cache the settings/sections in the database anymore
This caused more troubles then it had benefits, especially
when an app got disabled or was removed without being disabled.
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r-- | lib/private/Installer.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php index d150e48fd87..6a78ea329cc 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -144,9 +144,6 @@ class Installer { } \OC_App::setupBackgroundJobs($info['background-jobs']); - if(isset($info['settings']) && is_array($info['settings'])) { - \OC::$server->getSettingsManager()->setupSettings($info['settings']); - } //run appinfo/install.php if(!isset($data['noinstall']) or $data['noinstall']==false) { @@ -605,12 +602,6 @@ class Installer { OC_App::setAppTypes($info['id']); - if(isset($info['settings']) && is_array($info['settings'])) { - // requires that autoloading was registered for the app, - // as happens before running the install.php some lines above - \OC::$server->getSettingsManager()->setupSettings($info['settings']); - } - return $info['id']; } |