summaryrefslogtreecommitdiff
path: root/modules/comment/controllers/admin_manage_comments.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2011-01-14 01:12:32 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2011-01-14 01:12:32 +0000
commit2898fe3b82ce10d045dd2c274a3290bacf209a00 (patch)
tree5aced91bb92d8c9136cabf60ebc918248328907a /modules/comment/controllers/admin_manage_comments.php
parent47cbef684d41a4d51a9848091997e10b909abf32 (diff)
parente4a43c99e421c830e569eaae6294286ed51e0ad8 (diff)
Git pull from devel line.
Diffstat (limited to 'modules/comment/controllers/admin_manage_comments.php')
-rw-r--r--modules/comment/controllers/admin_manage_comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/controllers/admin_manage_comments.php b/modules/comment/controllers/admin_manage_comments.php
index 49bd85d5..ec876fc4 100644
--- a/modules/comment/controllers/admin_manage_comments.php
+++ b/modules/comment/controllers/admin_manage_comments.php
@@ -25,7 +25,7 @@ class Admin_Manage_Comments_Controller extends Admin_Controller {
db::build()
->delete("comments")
->where("state", "IN", array("deleted", "spam"))
- ->where("updated", "<", new Database_Expression("UNIX_TIMESTAMP() - 86400 * 7"))
+ ->where("updated", "<", db::expr("UNIX_TIMESTAMP() - 86400 * 7"))
->execute();
// Redirect to the appropriate queue