[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[2372] trunk/LedgerSMB/Auth/DB.pm



Revision: 2372
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2372&view=rev
Author:   einhverfr
Date:     2008-10-16 19:31:20 +0000 (Thu, 16 Oct 2008)

Log Message:
-----------
Adding db commit after session check to avoid issues with long-running reports locking a user out.

Modified Paths:
--------------
    trunk/LedgerSMB/Auth/DB.pm

Modified: trunk/LedgerSMB/Auth/DB.pm
===================================================================
--- trunk/LedgerSMB/Auth/DB.pm	2008-10-15 17:49:33 UTC (rev 2371)
+++ trunk/LedgerSMB/Auth/DB.pm	2008-10-16 19:31:20 UTC (rev 2372)
@@ -112,6 +112,7 @@
         print qq|Set-Cookie: ${LedgerSMB::Sysconfig::cookie_name}=; path=$path;\n|;
         return 0;
     }
+    $dbh->commit;
 }
 
 sub session_create {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.