summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2005-08-25 22:11:20 +0000
committerLester Caine <lester@lsces.co.uk>2005-08-25 22:11:20 +0000
commit6d98580ee102b7705c9dce561f250a793f0edfc9 (patch)
tree76c542df3b181226181ac94f2155a19c18079e72
parentd22bfe685e3a9d40e640c52c5a9b5a8484258c3f (diff)
downloadrss-R104.tar.gz
rss-R104.tar.bz2
rss-R104.zip
Lock database update timestamps to UTCR104
-rw-r--r--rss.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/rss.php b/rss.php
index 5a7db42..4ee2d6b 100644
--- a/rss.php
+++ b/rss.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_rss/Attic/rss.php,v 1.1.1.1.2.9 2005/08/25 21:31:44 lsces Exp $
+ * $Header: /cvsroot/bitweaver/_bit_rss/Attic/rss.php,v 1.1.1.1.2.10 2005/08/25 22:11:20 lsces Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: rss.php,v 1.1.1.1.2.9 2005/08/25 21:31:44 lsces Exp $
+ * $Id: rss.php,v 1.1.1.1.2.10 2005/08/25 22:11:20 lsces Exp $
* @package rss
* @subpackage functions
*/
@@ -174,7 +174,7 @@ if ($output == "") {
$feed = substr( md5( $_SERVER['REQUEST_URI'] ), 0, 30 );
// update cache with new generated data
- $now = date("U");
+ $now = $gBitSystem->getUTCTime();
$query = "update `".BIT_DB_PREFIX."tiki_rss_feeds` set `cache`=?, `last_updated`=? where `name`=? and `rss_ver`=?";
$bindvars = array( BitDb::db_byte_encode( $output ), (int) $now, $feed, $rss_version);
$result = $gBitSystem->mDb->query($query,$bindvars);