[prev in list] [next in list] [prev in thread] [next in thread]
List: imp
Subject: [horde] CVS nag patch - alert task notification
From: "W. Tasin" <tasin () fhm ! edu>
Date: 2004-04-03 13:56:17
Message-ID: 406EC281.3000109 () fhm ! edu
[Download RAW message or body]
Hi,
here's a little patch which corrects listAlarms for datatree backend
(made the if-clause like the sql-command in sql backend).
Ciao
Walter
["nag_datatree.diff" (text/plain)]
--- nag/lib/Driver/datatree.php Sun Mar 14 03:43:27 2004
+++ nag/lib/Driver/datatree.php Sat Apr 3 10:28:54 2004
@@ -272,8 +272,8 @@
// Check the alarm.
if ($obj->get('alarm') > 0
- && ($obj->get('due') - $obj->get('alarm') * 60) < $date
- && $obj->get('due') < time() ){
+ && ($obj->get('due') - $obj->get('alarm') * 60) <= $date
+ && $obj->get('due') >= time() ){
$tasks[$task_id] = array(
'task_id' => $task_id,
'tasklist_id' => $this->_tasklist,
--
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic