Changeset:
        0a52b0f5370b
        
https://sourceforge.net/p/mrbs/hg-code/ci/0a52b0f5370b6ffc198a838d65f5d9005effebb4
Author:
        Campbell Morrison <[email protected]>
Date:
        Tue Sep 27 15:09:05 2016 +0100
Log message:

Removed unnecessary transaction

diffstat:

 web/del_entry.php |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 804e65cfa16b -r 0a52b0f5370b web/del_entry.php
--- a/web/del_entry.php Mon Sep 26 16:33:55 2016 +0100
+++ b/web/del_entry.php Tue Sep 27 15:09:05 2016 +0100
@@ -75,9 +75,9 @@
         $mail_previous['entry_type'] = ENTRY_RPT_CHANGED;
       }
     }
-    sql_begin();
+    
     $start_times = mrbsDelEntry(getUserName(), $id, $series, 1);
-    sql_commit();
+    
     // [At the moment MRBS does not inform the user if it was not able to 
delete
     // an entry, or, for a series, some entries in a series.  This could 
happen for
     // example if a booking policy is in force that prevents the deletion of 
entries

------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to