diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-12-28 23:10:05 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-12-28 23:10:05 -0800 |
commit | b42fcb9cda4dafdb9db86770f54965b3fb2fc7ab (patch) | |
tree | ef645fcb4a409cfd0c0eefcdb60c841b68d84258 /modules/digibug/controllers | |
parent | 9f3c6e4bee9f2ccae04b7b241c07845b9f233cfd (diff) |
Use db::expr instead of "new Database_Expression". Resolves #1560.
Diffstat (limited to 'modules/digibug/controllers')
-rw-r--r-- | modules/digibug/controllers/digibug.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/digibug/controllers/digibug.php b/modules/digibug/controllers/digibug.php index 22bbe1a6..c48e3e87 100644 --- a/modules/digibug/controllers/digibug.php +++ b/modules/digibug/controllers/digibug.php @@ -114,7 +114,7 @@ class Digibug_Controller extends Controller { private function _clean_expired() { db::build() ->delete("digibug_proxies") - ->where("request_date", "<=", new Database_Expression("(CURDATE() - INTERVAL 10 DAY)")) + ->where("request_date", "<=", db::expr("(CURDATE() - INTERVAL 10 DAY)")) ->limit(20) ->execute(); } |