From 7a293008b60389f51a30b497178eb0ed70dcbaa6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 29 Mar 2010 11:26:51 +0400 Subject: [PATCH] remove unused variable references --- sessions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sessions.php b/sessions.php index 39a83eed..2ad5a57f 100644 --- a/sessions.php +++ b/sessions.php @@ -25,7 +25,7 @@ global $session_connection,$session_read; - $query = "SELECT data FROM ttrss_sessions WHERE id='$id' $address_check_qpart"; + $query = "SELECT data FROM ttrss_sessions WHERE id='$id'"; $res = db_query($session_connection, $query); @@ -52,7 +52,7 @@ if ($session_read) { $query = "UPDATE ttrss_sessions SET data='$data', - expire='$expire' WHERE id='$id' $address_check_qpart"; + expire='$expire' WHERE id='$id'"; } else { $query = "INSERT INTO ttrss_sessions (id, data, expire) VALUES ('$id', '$data', '$expire')"; @@ -75,7 +75,7 @@ global $session_connection; - $query = "DELETE FROM ttrss_sessions WHERE id = '$id' $address_check_qpart"; + $query = "DELETE FROM ttrss_sessions WHERE id = '$id'"; db_query($session_connection, $query); -- 2.39.5