summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2005-08-27 09:35:36 +0000
committerLester Caine <lester@lsces.co.uk>2005-08-27 09:35:36 +0000
commitf0ba0e468cced8aa5bb824749de576a2ae26dc2a (patch)
tree4352c047f853a2c771efb42393b35ead2383a5ad /modules
parentee831c6a3224827224998c1acce7fea905386c91 (diff)
downloadarticles-f0ba0e468cced8aa5bb824749de576a2ae26dc2a.tar.gz
articles-f0ba0e468cced8aa5bb824749de576a2ae26dc2a.tar.bz2
articles-f0ba0e468cced8aa5bb824749de576a2ae26dc2a.zip
Lock database update timestamps to UTC
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_last_articles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mod_last_articles.php b/modules/mod_last_articles.php
index 2223cdf..b773d26 100644
--- a/modules/mod_last_articles.php
+++ b/modules/mod_last_articles.php
@@ -1,8 +1,8 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_articles/modules/Attic/mod_last_articles.php,v 1.1 2005/06/30 01:10:46 bitweaver Exp $
+// $Header: /cvsroot/bitweaver/_bit_articles/modules/Attic/mod_last_articles.php,v 1.2 2005/08/27 09:35:36 lsces Exp $
include_once( ARTICLES_PKG_PATH.'art_lib.php' );
global $artlib, $gQueryUsername, $module_rows, $module_params;
-$ranking = $artlib->list_articles(0,$module_rows,'publish_date_desc', '', date("U"), '', '', '', $gQueryUsername);
+$ranking = $artlib->list_articles(0,$module_rows,'publish_date_desc', '', $gBitSystem->getUTCTime(), '', '', '', $gQueryUsername);
$smarty->assign('modLastArticles',$ranking["data"]);
?>