X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_tabs.inc;h=c543065b22dee48da42e42047218e2cc3695155f;hb=6bc38be280f4dd4b0386b2c256749934cb37e86e;hp=cb9bee89d25a57f9f2f73761a9743e3d3c9ec99e;hpb=0f0cdd3a98e4a9c1fb8c3dde2d2db000f28b44c5;p=gosa.git diff --git a/include/class_tabs.inc b/include/class_tabs.inc index cb9bee89d..c543065b2 100644 --- a/include/class_tabs.inc +++ b/include/class_tabs.inc @@ -44,7 +44,7 @@ class tabs foreach ($data as &$tab){ $this->by_name[$tab['CLASS']]= $tab['NAME']; - if ($baseobject == NULL){ + if ($baseobject === NULL){ $baseobject= new $tab['CLASS']($this->config, $this->dn); $this->by_object[$tab['CLASS']]= $baseobject; } else { @@ -184,7 +184,6 @@ class tabs function delete() { /* Check if all plugins will ACK for deletion */ -echo "F"; foreach (array_reverse($this->by_object) as $key => $obj){ $reason= $obj->allow_remove(); if ($reason != ""){ @@ -194,7 +193,6 @@ echo "F"; } /* Delete for all plugins */ -echo "F"; foreach (array_reverse($this->by_object) as $obj){ $obj->remove_from_parent(); }