Code

Fixes id to all by query
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Nov 2005 09:49:14 +0000 (09:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Nov 2005 09:49:14 +0000 (09:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2019 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/mailqueue/class_mailqueue.inc

index 6636b3b7dc56c01fccc2e56e7bf0aeeb2a9db793..e3645eab7f2fd44ceb2b610b14328cf8793d20c2 100644 (file)
@@ -55,7 +55,7 @@ class mailqueue extends plugin
         /* Create Query cmd */ 
         $q_cmd = preg_replace("/%action/" ,"query"      ,$this->mailQueueScript);
         $q_cmd = preg_replace("/%server/" ,$this->Server,$q_cmd);
-        $q_cmd = preg_replace("/%id/"     ,""           ,$q_cmd);
+        $q_cmd = preg_replace("/%id/"     ,"all"        ,$q_cmd);
 
         /* Only display this if the query cmd is executeable */
         if($str = @shell_exec ($q_cmd)){
@@ -78,7 +78,7 @@ class mailqueue extends plugin
 
           $q_cmd = preg_replace("/%action/" ,"query"      ,$this->mailQueueScript);
           $q_cmd = preg_replace("/%server/" ,$ServerName  ,$q_cmd);
-          $q_cmd = preg_replace("/%id/"     ,""           ,$q_cmd);
+          $q_cmd = preg_replace("/%id/"     ,"all"           ,$q_cmd);
 
           if($str = @shell_exec ($q_cmd)){
             if($mailQueueParser == NULL){