Code

* Fixed priorities to be 99 at maximum
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 16 Oct 2005 10:42:02 +0000 (10:42 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 16 Oct 2005 10:42:02 +0000 (10:42 +0000)
* Removed unused priority handling from hooks and variables

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1570 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiHookEntry.inc
plugins/admin/fai/class_faiScriptEntry.inc
plugins/admin/fai/class_faiVariableEntry.inc

index 79e35c86ed310ad76d109a47a6653b8d9dddbf03..70ed9f85606219ec467b0bab41550f46870b7dac 100644 (file)
@@ -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);
   }
index 3dfe4013efff72104b7749e4f529d81aad320a59..392deadb9d561a9b1bc13f868f86d4a1074eb7d5 100644 (file)
@@ -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);
index 44780047c8add96fad704f6aa30a5d4d81600586..745baeeadb255ebcc5a114a411977cad0f46276d 100644 (file)
@@ -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);
   }