From 26ffaa987c1eb6195cb8c8bd4225047a68179c53 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 16 Apr 2008 08:04:05 +0000 Subject: [PATCH] Disabled "cut" for FAI objects git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10493 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_divListFai.inc | 4 ---- gosa-plugins/fai/admin/fai/class_faiManagement.inc | 8 ++------ 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/gosa-plugins/fai/admin/fai/class_divListFai.inc b/gosa-plugins/fai/admin/fai/class_divListFai.inc index 01384a069..29b4b9c6a 100644 --- a/gosa-plugins/fai/admin/fai/class_divListFai.inc +++ b/gosa-plugins/fai/admin/fai/class_divListFai.inc @@ -161,8 +161,6 @@ class divListFai extends MultiSelectWindow $s.= "..|---|\n"; $s.= "..|". " "._("Copy")."|"."multiple_copy_systems|\n"; - $s.= "..|". - " "._("Cut")."|"."multiple_cut_systems|\n"; } /* Add copy & paste icons, currently disabled, this ability is not implemeneted yet */ @@ -259,8 +257,6 @@ class divListFai extends MultiSelectWindow $acl_all = $ui->has_complete_category_acls($this->parent->fai_base,$this->module); if(preg_match("/(c.*w|w.*c)/",$acl_all) && $this->parent->CopyPasteHandler){ $action .= " "; - $action.= " "; } diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 499d8e14b..e1b123ad2 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -114,7 +114,6 @@ class faiManagement extends plugin "/^multiple_copy_fai/" => "copy_multiple", "/^multiple_cut_fai/" => "cut_multiple", "/^copy/" => "copy", - "/^cut/" => "cut", "/^remove_multiple_fai_objects/" => "del_multiple"); foreach($_POST as $name => $value){ @@ -1152,7 +1151,7 @@ class faiManagement extends plugin /* Add a single entry to queue */ - if($s_action == "cut" || $s_action == "copy"){ + if($s_action == "copy"){ /* Cleanup object queue */ $this->CopyPasteHandler->cleanup_queue(); @@ -1163,7 +1162,7 @@ class faiManagement extends plugin } /* Add entries to queue */ - if($s_action == "copy_multiple" || $s_action == "cut_multiple"){ + if($s_action == "copy_multiple"){ /* Cleanup object queue */ $this->CopyPasteHandler->cleanup_queue(); @@ -1180,9 +1179,6 @@ class faiManagement extends plugin if($s_action == "copy_multiple"){ $this->CopyPasteHandler->add_to_queue($dn,"copy",$a_setup[0],$a_setup[2],"fai");//$a_setup[1]); } - if($s_action == "cut_multiple"){ - $this->CopyPasteHandler->add_to_queue($dn,"cut",$a_setup[0],$a_setup[2],"fai");//$a_setup[1]); - } } } -- 2.30.2