diff --git a/include/class_tabs.inc b/include/class_tabs.inc
index cb9bee89d25a57f9f2f73761a9743e3d3c9ec99e..c543065b22dee48da42e42047218e2cc3695155f 100644 (file)
--- a/include/class_tabs.inc
+++ b/include/class_tabs.inc
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 {
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 != ""){
}
/* Delete for all plugins */
-echo "F";
foreach (array_reverse($this->by_object) as $obj){
$obj->remove_from_parent();
}