summaryrefslogtreecommitdiffstats
path: root/lib/class/query.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/query.class.php')
-rw-r--r--lib/class/query.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/query.class.php b/lib/class/query.class.php
index 2e8e1a5c..ea451a45 100644
--- a/lib/class/query.class.php
+++ b/lib/class/query.class.php
@@ -210,10 +210,10 @@ class Query {
}
/**
- * clean
+ * gc
* This cleans old data out of the table
*/
- public static function clean() {
+ public static function gc() {
$sql = "DELETE FROM `tmp_browse` USING `tmp_browse` LEFT JOIN ".
"`session` ON `session`.`id`=`tmp_browse`.`sid` " .
"WHERE `session`.`id` IS NULL";