From 1b70ac1bc03e01d080ffcd646ca2b6c44b5b9454 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 6 Jun 2013 16:12:34 -0700 Subject: no GMT_TIMESTAMP() in mysql - use UTC_TIMESTAMP() instead --- include/poller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/poller.php b/include/poller.php index c076d30f7..dff16d3d7 100644 --- a/include/poller.php +++ b/include/poller.php @@ -89,7 +89,7 @@ function poller_run($argv, $argc){ // This should be rare $r = q("select xchan_photo_l, xchan_hash from xchan where xchan_photo_l != '' and xchan_photo_m = '' - and xchan_photo_date < GMT_TIMESTAMP() - INTERVAL 1 DAY"); + and xchan_photo_date < UTC_TIMESTAMP() - INTERVAL 1 DAY"); if($r) { require_once('include/photo/photo_driver.php'); foreach($r as $rr) { -- cgit v1.2.3