diff --git a/gosa-core/include/class_SnapShotDialog.inc b/gosa-core/include/class_SnapShotDialog.inc
index b13f1cdbec430e5c0552ed634eedd552287668e7..aafd2e5ed191f02a9d09caee0bf04acce97d3594 100644 (file)
plugin::execute();
$smarty = get_smarty();
- if(!isset($this->parent->acl_module) || !count($this->parent->acl_module)){
- trigger_error("Could not detect acl_module in parent object (".get_class($this->parent).").");
- return("");
- }
-
$ui = get_userinfo();
-
$once = true;
foreach($_POST as $name => $value){
if((preg_match("/^RemoveSnapShot_/",$name)) && ($once)){
$once = false;
-
$entry = preg_replace("/^RemoveSnapShot_/","",$name);
$entry = base64_decode(preg_replace("/_[xy]$/","",$entry));
-
$found = false;
foreach($this->last_list as $t_stamp => $obj){
if($obj['dn'] == $entry){