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:
9bdc83a
)
timestamp fix
author
Domas Mituzas
<midom@users.mediawiki.org>
Mon, 6 Sep 2004 09:34:44 +0000
(09:34 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Mon, 6 Sep 2004 09:34:44 +0000
(09:34 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
c26b2b9
..
6670bce
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-311,10
+311,10
@@
class Title {
if ( count( $titles ) == 0 ) {
return;
}
+ $dbw =& wfGetDB( DB_MASTER );
if ( $timestamp == '' ) {
- $timestamp =
wfTimestampNow
();
+ $timestamp =
$dbw->timestamp
();
}
- $dbw =& wfGetDB( DB_MASTER );
$cur = $dbw->tableName( 'cur' );
$sql = "UPDATE $cur SET cur_touched='{$timestamp}' WHERE cur_id IN (";
$first = true;