summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5428699)
raw | patch | inline | side by side (parent: 5428699)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 May 2010 11:16:52 +0000 (11:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 May 2010 11:16:52 +0000 (11:16 +0000) |
-Reload configuration once the last property is saved,
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18511 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18511 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/addons/configViewer/class_configViewer.inc | patch | blob | history |
diff --git a/gosa-core/plugins/addons/configViewer/class_configViewer.inc b/gosa-core/plugins/addons/configViewer/class_configViewer.inc
index adc81e805f55e61c4158feae9d70fab82880244d..0b2a394d9f8218e4fcf60d4290fa8be99211e956 100644 (file)
$this->toBeMigrated[0]->save();
unset($this->toBeMigrated[0]);
$this->toBeMigrated = array_values($this->toBeMigrated);
+
+ // Nothing to migrate and everything is fine, reload the list now.
+ if(!count($this->toBeMigrated)){
+ $this->config->configRegistry->reload($force=TRUE);
+ }
}
}
if(count($this->toBeMigrated)){