X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FupdateSearchIndex.php;h=af2d8287bd29671fe1144c86cf5ee301176dc57d;hb=228d796b1d6299ccd39418e85f40437292b47dd4;hp=8a895f2709a4a12bc8ca584097b397cffd5f9832;hpb=96906168cac0e9a7748511b48c369cf22c8406d5;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/updateSearchIndex.php b/maintenance/updateSearchIndex.php index 8a895f2709..af2d8287bd 100644 --- a/maintenance/updateSearchIndex.php +++ b/maintenance/updateSearchIndex.php @@ -61,7 +61,7 @@ class UpdateSearchIndex extends Maintenance { } public function execute() { - $posFile = $this->getOption( 'p', 'searchUpdate.' . wfWikiId() . '.pos' ); + $posFile = $this->getOption( 'p', 'searchUpdate.' . wfWikiID() . '.pos' ); $end = $this->getOption( 'e', wfTimestampNow() ); if ( $this->hasOption( 's' ) ) { $start = $this->getOption( 's' ); @@ -121,5 +121,5 @@ class UpdateSearchIndex extends Maintenance { } } -$maintClass = "UpdateSearchIndex"; +$maintClass = UpdateSearchIndex::class; require_once RUN_MAINTENANCE_IF_MAIN;