X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FimportTextFiles.php;h=0b5cdf99bd1649e002d08c7a733189b407cc3a7e;hb=644ac24dd3b94b9e88430056539c0434ca312928;hp=4681003ecb4d621302090401d0f76abf91a2e9c8;hpb=785960660f2a29f59eaaf760e71f675b9a71de8c;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/importTextFiles.php b/maintenance/importTextFiles.php index 4681003ecb..0b5cdf99bd 100644 --- a/maintenance/importTextFiles.php +++ b/maintenance/importTextFiles.php @@ -76,7 +76,7 @@ class ImportTextFiles extends Maintenance { $this->fatalError( "Fatal error: The file '$arg' does not exist!" ); } } - }; + } $count = count( $files ); $this->output( "Importing $count pages...\n" ); @@ -204,5 +204,5 @@ class ImportTextFiles extends Maintenance { } } -$maintClass = "ImportTextFiles"; +$maintClass = ImportTextFiles::class; require_once RUN_MAINTENANCE_IF_MAIN;