diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/mv-core/webcal/send_reminders.patch | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/mv-core/webcal/send_reminders.patch')
-rw-r--r-- | abs/mv-core/webcal/send_reminders.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/abs/mv-core/webcal/send_reminders.patch b/abs/mv-core/webcal/send_reminders.patch deleted file mode 100644 index 9076b0c..0000000 --- a/abs/mv-core/webcal/send_reminders.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- send_reminders.php.orig 2008-08-04 18:02:14.000000000 -0500 -+++ send_reminders.php 2008-08-07 15:15:28.000000000 -0500 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/php -q -+#!/usr/bin/php -q - <?php - /* $Id: send_reminders.php,v 1.81.2.8 2008/02/18 17:42:02 cknudsen Exp $ - * -@@ -313,6 +313,10 @@ - translate ( 'could not find event id XXX in database.' ) ) . "\n"; - return; - } -+ //Always send via ghosd -+ $name = $row[9]; -+ $p = system("/usr/bin/notify.py NFO \"$name\"", $retval); -+ - - // Send mail. We send one user at a time so that we can switch - // languages between users if needed (as well as HTML vs plain text). -@@ -475,7 +479,6 @@ - } - - $subject = translate ( 'Reminder' ) . ': ' . stripslashes ( $name ); -- - if ( $debug ) - echo "Sending mail to $recip (in $userlang).<br />\n"; - -@@ -570,7 +573,9 @@ - } - // Factor in repeats if set. - if ( $repeats > 0 && $times_sent <= $repeats ) -- $remind_time += ( $reminder['duration'] * 60 * $times_sent ); -+ $remind_time = ($reminder['duration']*60 + $lastsent ); -+// Don't know what this is line is doing, but the above seems better to me -+// $remind_time += ( $reminder['duration'] * 60 * $times_sent ); - - if ( $debug ) - echo ( empty ( $offset_msg ) ? '' : $offset_msg . '<br />' ) . ' |