SF.net SVN: postfixadmin:[432] trunk/edit-vacation.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2008-08-01 20:46:58
|
Revision: 432 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=432&view=rev Author: christian_boltz Date: 2008-08-01 20:47:07 +0000 (Fri, 01 Aug 2008) Log Message: ----------- edit-vacation.php: - cleanup vacation_notification table when disabling vacation https://sourceforge.net/forum/message.php?msg_id=5131390 Modified Paths: -------------- trunk/edit-vacation.php Modified: trunk/edit-vacation.php =================================================================== --- trunk/edit-vacation.php 2008-07-30 06:48:37 UTC (rev 431) +++ trunk/edit-vacation.php 2008-08-01 20:47:07 UTC (rev 432) @@ -118,6 +118,7 @@ $db_false = db_get_boolean(false); // retain vacation message if possible - i.e disable vacation away-ness. $result = db_query ("UPDATE $table_vacation SET active = $db_false WHERE email='$fUsername'"); + $result = db_query("DELETE FROM $table_vacation_notification WHERE on_vacation='$fUsername'"); $result = db_query ("SELECT * FROM $table_alias WHERE address='$fUsername'"); if ($result['rows'] == 1) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |