diff options
author | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-06-15 21:18:17 +0000 |
---|---|---|
committer | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-06-15 21:18:17 +0000 |
commit | 733f507937ffaa28b7e8739f63a77c459dfe407b (patch) | |
tree | 6be0a78ba43b89581c6a78af5fc3a46252eb9a6c /lib/class/vauth.class.php | |
parent | 33213b8ea84e15863f13affbdb31316e7f89c7d7 (diff) | |
download | ampache-733f507937ffaa28b7e8739f63a77c459dfe407b.tar.gz ampache-733f507937ffaa28b7e8739f63a77c459dfe407b.tar.bz2 ampache-733f507937ffaa28b7e8739f63a77c459dfe407b.zip |
Browsing by tag is broken. This doesn't fix it.
Diffstat (limited to 'lib/class/vauth.class.php')
-rw-r--r-- | lib/class/vauth.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/vauth.class.php b/lib/class/vauth.class.php index d69078b0..761e4dc7 100644 --- a/lib/class/vauth.class.php +++ b/lib/class/vauth.class.php @@ -138,9 +138,9 @@ class vauth { $sql = "DELETE FROM `session` WHERE `expire` < '" . time() . "'"; $db_results = Dba::write($sql); - $sql = "DELETE FROM `tmp_browse` USING `tmp_browse` LEFT JOIN `session` ON `session`.`id`=`tmp_browse`.`sid` " . - "WHERE `session`.`id` IS NULL"; - $db_results = Dba::write($sql); + // Also clean up things that use sessions as keys + Query::clean(); + tmpPlaylist::clean(); return true; |