From: hickert Date: Tue, 19 Feb 2008 09:34:20 +0000 (+0000) Subject: Updated gotomasses X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dc1759a9cfa9c22b8c246f1842911fcec88b3389;p=gosa.git Updated gotomasses -Updated start / stop git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8949 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc b/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc index 57a094eb8..8df328051 100644 --- a/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc +++ b/gosa-plugins/goto/addons/gotomasses/class_gotomasses.inc @@ -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);