dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
734906f
)
editupdates tsfix
author
Domas Mituzas
<midom@users.mediawiki.org>
Tue, 7 Sep 2004 08:16:38 +0000
(08:16 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Tue, 7 Sep 2004 08:16:38 +0000
(08:16 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
779b092
..
474676f
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1835,7
+1835,7
@@
class Article {
wfSeedRandom();
if ( 0 == mt_rand( 0, 999 ) ) {
$dbw =& wfGetDB( DB_MASTER );
- $cutoff =
wfUnix2T
imestamp( time() - ( 7 * 86400 ) );
+ $cutoff =
$dbw->t
imestamp( time() - ( 7 * 86400 ) );
$sql = "DELETE FROM recentchanges WHERE rc_timestamp < '{$cutoff}'";
$dbw->query( $sql );
}