From bc53b5e0db23b3d790cfffeff8d1a5c74877cb22 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 2 Dec 2008 13:34:43 +0000 Subject: [PATCH] Removed debug stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13114 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 40 ------------------------------ 1 file changed, 40 deletions(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 79346e701..2ca362bdd 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -1517,46 +1517,6 @@ class plugin foreach($_POST as $name => $value){ -## foreach($_POST as $name => $value){ -## + $entry = base64_decode(preg_replace("/_[xy]$/","",$name)); -## -## /* Create a new snapshot, display a dialog */ -## if(preg_match("/^CreateSnapShotDialog_/",$name) && $once){ -## $once = false; -## - $entry = preg_replace("/^CreateSnapShotDialog_/","",$name); -## - $entry = base64_decode(preg_replace("/_[xy]$/","",$entry)); -## + $entry = preg_replace("/^CreateSnapShotDialog_/","",$entry); -## -## if(!empty($entry) && $ui->allow_snapshot_create($entry,$this->parent->acl_module)){ -## $this->snapDialog = new SnapShotDialog($this->config,$entry,$this); -## @@ -1538,8 +1530,7 @@ -## /* Restore a snapshot, display a dialog with all snapshots of the current object */ -## if(preg_match("/^RestoreSnapShotDialog_/",$name) && $once){ -## $once = false; -## - $entry = preg_replace("/^RestoreSnapShotDialog_/","",$name); -## - $entry = base64_decode(preg_replace("/_[xy]$/","",$entry)); -## + $entry = preg_replace("/^RestoreSnapShotDialog_/","",$entry); -## if(!empty($entry) && $ui->allow_snapshot_restore($entry,$this->parent->acl_module)){ -## $this->snapDialog = new SnapShotDialog($this->config,$entry,$this); -## $this->snapDialog->display_restore_dialog = true; -## @@ -1566,8 +1557,7 @@ -## /* Restore selected snapshot */ -## if(preg_match("/^RestoreSnapShot_/",$name) && $once){ -## $once = false; -## - $entry = preg_replace("/^RestoreSnapShot_/","",$name); -## - $entry = base64_decode(trim(preg_replace("/_[xy]$/","",$entry))); -## + $entry = preg_replace("/^RestoreSnapShot_/","",$entry); -## if(!empty($entry) && $ui->allow_snapshot_restore($entry,$this->parent->acl_module)){ -## $this->restore_snapshot($entry); -## $this->snapDialog = NULL; -## @@ -1628,6 +1618,7 @@ -## */ -## -## -## - - - /* Create a new snapshot, display a dialog */ if(preg_match("/^CreateSnapShotDialog_[^_]*_[xy]$/",$name) && $once){ -- 2.30.2