SF.net SVN: postfixadmin:[513] trunk/VIRTUAL_VACATION/vacation.pl
Brought to you by:
christian_boltz,
gingerdog
|
From: <Gin...@us...> - 2009-01-13 14:22:12
|
Revision: 513
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=513&view=rev
Author: GingerDog
Date: 2009-01-13 14:22:00 +0000 (Tue, 13 Jan 2009)
Log Message:
-----------
wiza thinks this is hte correct behaviour (i.e return true not false
Modified Paths:
--------------
trunk/VIRTUAL_VACATION/vacation.pl
Modified: trunk/VIRTUAL_VACATION/vacation.pl
===================================================================
--- trunk/VIRTUAL_VACATION/vacation.pl 2009-01-12 21:14:08 UTC (rev 512)
+++ trunk/VIRTUAL_VACATION/vacation.pl 2009-01-13 14:22:00 UTC (rev 513)
@@ -247,7 +247,7 @@
if ($e !~ /(?:_pkey|^Duplicate entry)/) {
$logger->error("Failed to insert into vacation_notification table (to:$to from:$from error:'$e' query:'$query')");
# Let's play safe and notify anyway
- return 0;
+ return 1;
}
if ($interval) {
$query = qq{SELECT NOW()-notified_at FROM vacation_notification WHERE on_vacation=? AND notified=?};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|