Fixed bug #10730: Release record locks when logging out (Thanks to Oliver Schröder)
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 19 Aug 2010 17:11:27 +0000 (17:11 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 19 Aug 2010 17:11:27 +0000 (17:11 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8624 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_userauth.php

index 41bb3e4..26cf881 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-19  Christian Kuhn  <lolli@schwarzbu.ch>
+
+       * Fixed bug #10730: Release record locks when logging out (Thanks to Oliver Schröder)
+
 2010-08-19  Steffen Kamper  <steffen@typo3.org>
 
        * Added feature #15421: [felogin] Possibility to show logout form direct after login
index 0173733..f2fcceb 100644 (file)
@@ -812,6 +812,9 @@ class t3lib_userAuth {
        function logoff() {
                if ($this->writeDevLog)         t3lib_div::devLog('logoff: ses_id = '.$this->id, 't3lib_userAuth');
 
+                       // Release all record locks set by currently logged in be_user
+               t3lib_BEfunc::lockRecords();
+
                        // Hook for pre-processing the logoff() method, requested and implemented by andreas.otto@dkd.de:
                if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing']))     {
                        $_params = array();