summaryrefslogtreecommitdiffstats
path: root/lib/class/vauth.class.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-15 21:18:17 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-15 21:18:17 +0000
commit733f507937ffaa28b7e8739f63a77c459dfe407b (patch)
tree6be0a78ba43b89581c6a78af5fc3a46252eb9a6c /lib/class/vauth.class.php
parent33213b8ea84e15863f13affbdb31316e7f89c7d7 (diff)
downloadampache-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.php6
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;