diff options
author | Chad Horohoe <demon@users.mediawiki.org> | 2009-08-02 19:49:24 +0000 |
---|---|---|
committer | Chad Horohoe <demon@users.mediawiki.org> | 2009-08-02 19:49:24 +0000 |
commit | 1bee515b5ff47b2285d0cda151d8441d88cb1a58 (patch) | |
tree | f4c4fac33705142df0b7ba11bee40809f22221ac /maintenance/updateSearchIndex.php | |
parent | becbbe7b52607b84a664a0b1680cf18db665b62b (diff) | |
download | mediawikicore-1bee515b5ff47b2285d0cda151d8441d88cb1a58.tar.gz mediawikicore-1bee515b5ff47b2285d0cda151d8441d88cb1a58.zip |
timestamp() fixes on updateSearchIndex.php, and declare globals in updateSpecialPages.php
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/54227
Diffstat (limited to 'maintenance/updateSearchIndex.php')
-rw-r--r-- | maintenance/updateSearchIndex.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/updateSearchIndex.php b/maintenance/updateSearchIndex.php index 475001541fd3..978ccabed0f6 100644 --- a/maintenance/updateSearchIndex.php +++ b/maintenance/updateSearchIndex.php @@ -75,8 +75,8 @@ class UpdateSearchIndex extends Maintenance { $this->output( "Updating searchindex between $start and $end\n" ); # Select entries from recentchanges which are on top and between the specified times - $start = $dbw->strencode( $start ); - $end = $dbw->strencode( $end ); + $start = $dbw->timestamp( $start ); + $end = $dbw->timestamp( $end ); $page = $dbw->tableName( 'page' ); $sql = "SELECT rc_cur_id,rc_type,rc_moved_to_ns,rc_moved_to_title FROM $recentchanges |