Some naming cleanup of the filename prefix blacklist added in r25620:
[lhc/web/wiklou.git] / maintenance / updateSearchIndex.php
index 5c655a5..a7f2562 100644 (file)
@@ -9,8 +9,7 @@
  * LOCKTIME is how long the searchindex and cur tables will be locked for
  * -q means quiet
  *
- * @package MediaWiki
- * @subpackage Maintenance
+ * @addtogroup Maintenance
  */
 
 /** */
@@ -36,8 +35,8 @@ if ( isset( $options['s'] ) ) {
 } else {
        $start = @file_get_contents( $posFile );
        if ( !$start ) {
-               $start = wfUnix2Timestamp( time() - 86400 );
-       } 
+               $start = wfTimestamp( TS_MW, time() - 86400 );
+       }
 }
 
 if ( isset( $options['l'] ) ) {
@@ -54,4 +53,4 @@ $file = fopen( $posFile, 'w' );
 fwrite( $file, $end );
 fclose( $file );
 
-?>
+