]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove unused variable references
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 29 Mar 2010 07:26:51 +0000 (11:26 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 29 Mar 2010 07:26:51 +0000 (11:26 +0400)
sessions.php

index 39a83eed841fe30bc1f565284097ce6a95600f13..2ad5a57fca012dcba98d9617f668244c714d3147 100644 (file)
@@ -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);