diff --git a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc
index 7f2e02171774b5512d865770bea1a5deb55cc8de..1acd7d6fa5e0b22a47124e9b4789c925a6411969 100644 (file)
if (isset($_POST['edit_cancel']) && is_object($this->devicetabs)){
$this->remove_lock();
$this->devicetabs= NULL;
- session::un_set('objectinfo');
+ set_object_info();
}
}
unset ($this->devicetabs);
$this->devicetabs= NULL;
- session::un_set('objectinfo');
+ set_object_info();
}else{
/* Reinitialize tab */
/* Register devicetabs to trigger edit dialog */
$this->devicetabs= new devicetabs($this->config,$this->config->data['TABS']['DEVICETABS'], $this->dn,"devices");
$this->devicetabs->set_acl_base($this->dn);
- session::set('objectinfo',$this->dn);
+ set_object_info($this->dn);
}
/* Delete device canceled? */
if (isset($_POST['delete_cancel'])){
$this->remove_lock();
- session::un_set('objectinfo');
+ set_object_info();
}
/* Show tab dialog if object is present */