summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d852d88)
raw | patch | inline | side by side (parent: d852d88)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 May 2010 15:31:18 +0000 (15:31 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 May 2010 15:31:18 +0000 (15:31 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18398 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 7ec012f79159d41f590c2a6a359842ef245cf294..2532c3e9b872d4004afd6644ae62e368954337b6 100644 (file)
// Execute registered management event listeners.
$this->handleActions($this->detectPostActions());
-
// Handle properties that have to be migrated
if(isset($_POST['propertyMigrate_cancel']) && count($this->toBeMigrated)){
unset($this->toBeMigrated[0]);
$first = $this->toBeMigrated[0]->getMigrationClass();
}else{
$first = NULL;
+
+ // Nothing to migrate and everything is fine, reload the list now.
+ if(!count($this->toBeMigrated)){
+ $this->config->configRegistry->reload($force=TRUE);
+ }
}
}
// Now save the properties.
if($valid){
$this->toBeMigrated = $this->config->configRegistry->saveChanges();
+
+ // Nothing to migrate and everything is fine, reload the list now.
+ if(!count($this->toBeMigrated)){
+ $this->config->configRegistry->reload($force=TRUE);
+ }
}
}