Code

Updated a couple of values
[gosa.git] / gosa-core / include / class_plugin.inc
index 2adbf492fe11cf12052b9a0f7a71230da8514345..31d5b4bafd80e2c155c2852626394c08e60b80f1 100644 (file)
@@ -636,7 +636,7 @@ class plugin
       if (check_command($command)){
         @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
             $command, "Execute");
-        exec($command,&$arr);
+        exec($command,$arr);
         foreach($arr as $str){
           @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
             $command, "Result: ".$str);
@@ -677,7 +677,7 @@ class plugin
 
       if (check_command($command)){
         @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,$command, "Execute");
-        exec($command,&$arr);
+        exec($command,$arr);
         foreach($arr as $str){
           @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
             $command, "Result: ".$str);
@@ -719,7 +719,7 @@ class plugin
         @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
             $command, "Execute");
 
-        exec($command,&$arr);
+        exec($command,$arr);
         foreach($arr as $str){
           @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,
             $command, "Result: ".$str);