summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb66d1b)
raw | patch | inline | side by side (parent: fb66d1b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 Aug 2010 15:45:15 +0000 (15:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 Aug 2010 15:45:15 +0000 (15:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19487 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_pluglist.inc | patch | blob | history |
index 18cf1a1ee9f4715a41e40ebf6502c2a39bb64dde..0e025420105cc363258e026d2c753f2199146e21 100644 (file)
}
}
+ // 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'];