aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-06 16:12:34 -0700
committerfriendica <info@friendica.com>2013-06-06 16:12:34 -0700
commit1b70ac1bc03e01d080ffcd646ca2b6c44b5b9454 (patch)
treef24ea720dd76e22cee7ba2ce6dcd1cc8b07da5a5
parente0c6ee208297123ddc2aa37eadda69289230a01f (diff)
downloadvolse-hubzilla-1b70ac1bc03e01d080ffcd646ca2b6c44b5b9454.tar.gz
volse-hubzilla-1b70ac1bc03e01d080ffcd646ca2b6c44b5b9454.tar.bz2
volse-hubzilla-1b70ac1bc03e01d080ffcd646ca2b6c44b5b9454.zip
no GMT_TIMESTAMP() in mysql - use UTC_TIMESTAMP() instead
-rw-r--r--include/poller.php2
-rw-r--r--version.inc2
2 files changed, 2 insertions, 2 deletions
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) {
diff --git a/version.inc b/version.inc
index 9d24cddaf..6078ba2c4 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2013-06-05.335
+2013-06-06.336