From: cajus Date: Sun, 16 Oct 2005 10:42:02 +0000 (+0000) Subject: * Fixed priorities to be 99 at maximum X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c57822e61326f992f00aace758a6447745a858f3;p=gosa.git * Fixed priorities to be 99 at maximum * Removed unused priority handling from hooks and variables git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1570 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiHookEntry.inc b/plugins/admin/fai/class_faiHookEntry.inc index 79e35c86e..70ed9f856 100644 --- a/plugins/admin/fai/class_faiHookEntry.inc +++ b/plugins/admin/fai/class_faiHookEntry.inc @@ -67,11 +67,6 @@ class faiHookEntry extends plugin } } - - for($i =1 ; $i <= 100 ; $i++){ - $Object_FAIprioritys[$i]=$i; - } - $smarty->assign("Object_FAIprioritys",$Object_FAIprioritys); $display.= $smarty->fetch(get_template_path('faiHookEntry.tpl', TRUE)); return($display); } diff --git a/plugins/admin/fai/class_faiScriptEntry.inc b/plugins/admin/fai/class_faiScriptEntry.inc index 3dfe4013e..392deadb9 100644 --- a/plugins/admin/fai/class_faiScriptEntry.inc +++ b/plugins/admin/fai/class_faiScriptEntry.inc @@ -64,7 +64,7 @@ class faiScriptEntry extends plugin } } - for($i =1 ; $i <= 100 ; $i++){ + for($i =1 ; $i < 100 ; $i++){ $Object_FAIprioritys[$i]=$i; } $smarty->assign("Object_FAIprioritys",$Object_FAIprioritys); diff --git a/plugins/admin/fai/class_faiVariableEntry.inc b/plugins/admin/fai/class_faiVariableEntry.inc index 44780047c..745baeead 100644 --- a/plugins/admin/fai/class_faiVariableEntry.inc +++ b/plugins/admin/fai/class_faiVariableEntry.inc @@ -52,10 +52,6 @@ class faiVariableEntry extends plugin } } - for($i =1 ; $i <= 100 ; $i++){ - $Object_FAIprioritys[$i]=$i; - } - $smarty->assign("Object_FAIprioritys",$Object_FAIprioritys); $display.= $smarty->fetch(get_template_path('faiVariableEntry.tpl', TRUE)); return($display); }