From: Andrew Dolgov Date: Mon, 29 Mar 2010 07:26:51 +0000 (+0400) Subject: remove unused variable references X-Git-Tag: 1.4.2~17 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7a293008b60389f51a30b497178eb0ed70dcbaa6;p=tt-rss.git remove unused variable references --- 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);