From: hickert Date: Mon, 17 May 2010 11:16:52 +0000 (+0000) Subject: Updated migration dialog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=08ced2b511bf1b391b2d6cbc29ea218f95e6050c;p=gosa.git Updated migration dialog -Reload configuration once the last property is saved, git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18511 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/addons/configViewer/class_configViewer.inc b/gosa-core/plugins/addons/configViewer/class_configViewer.inc index adc81e805..0b2a394d9 100644 --- a/gosa-core/plugins/addons/configViewer/class_configViewer.inc +++ b/gosa-core/plugins/addons/configViewer/class_configViewer.inc @@ -77,6 +77,11 @@ class configViewer extends management $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)){