summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 48a683a)
raw | patch | inline | side by side (parent: 48a683a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 30 Aug 2010 06:45:44 +0000 (06:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 30 Aug 2010 06:45:44 +0000 (06:45 +0000) |
-I messed things up here, thanks for the notice.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19491 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19491 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_pluglist.inc | patch | blob | history |
index d23713a55f6b69fd2d7ec73fbc41650cebe51530..6bb735263dbf740e71486335e6bebb4c169d9904 100644 (file)
unset($this->config->data['MENU'][$section][$id]);
}
}
+
+ // Remove empty sections
+ if(count($this->config->data['MENU'][$section]) == 0){
+ unset($this->config->data['MENU'][$section]);
+ }
}
}
- // Remove empty sections
- if(count($this->config->data['MENU'][$section]) == 0){
- unset($this->config->data['MENU'][$section]);
- }
-
$disabledPlugins = $this->config->configRegistry->getDisabledPlugins();
$cfg= $this->config->data['MENU'];