summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 09a8d0c)
raw | patch | inline | side by side (parent: 09a8d0c)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 24 Sep 2007 08:04:45 +0000 (08:04 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 24 Sep 2007 08:04:45 +0000 (08:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7382 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_plugin.inc | patch | blob | history |
index 928d751c4adf8cd8b9f07c62c161c42e3e753ccb..b957567d12a77cab1a76cacc81634f114a3fc025 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
}
/* Find hooks entries for this class */
- $command= $this->config->search(get_class($this), "CHECK",array('menu'));
- if ($command == "" && isset($this->config->data['TABS'])){
- $command= $this->config->search(get_class($this), "CHECK",array('tabs'));
- }
+ $command= $this->config->search(get_class($this), "CHECK", array('menu', 'tabs'));
if ($command != ""){
function postcreate($add_attrs= array())
{
/* Find postcreate entries for this class */
- $command= $this->config->search(get_class($this), "POSTCREATE",array('menu'));
- if ($command == "" && isset($this->config->data['TABS'])){
- $command= $this->config->search(get_class($this), "POSTCREATE",array('tabs'));
- }
+ $command= $this->config->search(get_class($this), "POSTCREATE",array('menu', 'tabs'));
if ($command != ""){