Revision: 1097
http://mrbs.svn.sourceforge.net/mrbs/?rev=1097&view=rev
Author: cimorrison
Date: 2009-04-22 14:57:53 +0000 (Wed, 22 Apr 2009)
Log Message:
-----------
Tidied up the operation of deleting a room so that when a room is deleted,
entries in the repeat table associated with that room are deleted, as well as
the entries themselves.
Modified Paths:
--------------
mrbs/trunk/web/del.php
Modified: mrbs/trunk/web/del.php
===================================================================
--- mrbs/trunk/web/del.php 2009-04-22 14:40:00 UTC (rev 1096)
+++ mrbs/trunk/web/del.php 2009-04-22 14:57:53 UTC (rev 1097)
@@ -47,6 +47,7 @@
sql_begin();
// First take out all appointments for this room
sql_command("delete from $tbl_entry where room_id=$room");
+ sql_command("delete from $tbl_repeat where room_id=$room");
// Now take out the room itself
sql_command("delete from $tbl_room where id=$room");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits