Code

Updated gotomasses
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Feb 2008 09:34:20 +0000 (09:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Feb 2008 09:34:20 +0000 (09:34 +0000)
-Updated start / stop

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

gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc

index 57a094eb8e096322bb21f71a59aefc2001dd1629..8df328051dba25f105145dc343d0a709bc677e24 100644 (file)
@@ -378,8 +378,8 @@ class gotomasses extends plugin
     if(!count($ids)){
       return;
     }
-    $data = array("timestamp" => "20490101010101",
-                  "status"    => "Stoppped");
+    $data = array("timestamp" => date("YmdHis",(time() + (60*60*24*365))),
+                  "status"    => _("Stoppped"));
     if(!$this->o_queue->update_entries($ids,$data)){
       msg_dialog::display(_("Error"), sprintf(_("Could not update queue entry: %s"),$id) , ERROR_DIALOG);
       return(FALSE);