From 08ced2b511bf1b391b2d6cbc29ea218f95e6050c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 17 May 2010 11:16:52 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/addons/configViewer/class_configViewer.inc | 5 +++++ 1 file changed, 5 insertions(+) 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)){ -- 2.30.2