From: skodak Date: Tue, 9 Dec 2008 22:13:08 +0000 (+0000) Subject: MDL-17567 sibolleth: fixed code to use new DML syntax X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=84f06d9c722cbfce76be9b9b9bf820ff10c86a6e;p=moodle.git MDL-17567 sibolleth: fixed code to use new DML syntax --- diff --git a/auth/shibboleth/logout.php b/auth/shibboleth/logout.php index 3022ac7328..55608580db 100644 --- a/auth/shibboleth/logout.php +++ b/auth/shibboleth/logout.php @@ -161,7 +161,7 @@ function LogoutNotification($SessionID){ $ADODB_SESS_LIFE = $CFG->sessiontimeout; } - if ($user_session_data = get_records_sql('SELECT sesskey, sessdata FROM '. $CFG->prefix .'sessions2 WHERE expiry > NOW()')) { + if ($user_session_data = $DB->get_records_sql('SELECT sesskey, sessdata FROM {sessions2} WHERE expiry > NOW()')) { foreach ($user_session_data as $session_data) { //print_r($session_data);