From 84f06d9c722cbfce76be9b9b9bf820ff10c86a6e Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 9 Dec 2008 22:13:08 +0000 Subject: [PATCH] MDL-17567 sibolleth: fixed code to use new DML syntax --- auth/shibboleth/logout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5