From: hickert Date: Fri, 25 Apr 2008 10:01:09 +0000 (+0000) Subject: Added more loggin to fai remove. Just for testing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cb34423da1d09037dc3dedb80731ba7c112743d6;p=gosa.git Added more loggin to fai remove. Just for testing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10685 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 95c2a8308..9dba9738c 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -505,7 +505,17 @@ class faiManagement extends plugin $this->postremove(); new log("remove","fai/".get_class($this),$br[$bb],array(),"Release removed"); + trigger_error("Should be removed"); + }else{ + if(!isset($br[$bb])){ + trigger_error("Invalid release ".$bb); + } + if(!$this->acl_is_removeable()){ + trigger_error("Invalid permission"); + } } + }else{ + trigger_error("No remove Hook"); } }