From: Petr Skoda Date: Tue, 10 Nov 2009 14:28:40 +0000 (+0000) Subject: MDL-20625 adding TODO for combination of session and tansactiosn, discussing best... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=59e0ce0ac569fde14e622c2239482e382a79d2c3;p=moodle.git MDL-20625 adding TODO for combination of session and tansactiosn, discussing best solution with Eloy --- diff --git a/lib/sessionlib.php b/lib/sessionlib.php index 20309f6729..697dd4f78d 100644 --- a/lib/sessionlib.php +++ b/lib/sessionlib.php @@ -490,6 +490,8 @@ class database_session extends session_stub { public function handler_write($sid, $session_data) { global $USER; + // TODO: MDL-20625 we need to rollabck all active transactions and log error if any open needed + $userid = 0; if (!empty($USER->realuser)) { $userid = $USER->realuser;