X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpageExists.php;h=dc9bbdacabc406a4e34b7abdda12be4096cb5a22;hb=8269ed4dfd5e4395e25945b1fa2ed391684606ed;hp=b631005f5f8816b636539329ecf74f478403f54b;hpb=adae996840b9e782f6e14b21c433a83e37c3a74e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/pageExists.php b/maintenance/pageExists.php index b631005f5f..dc9bbdacab 100644 --- a/maintenance/pageExists.php +++ b/maintenance/pageExists.php @@ -45,9 +45,9 @@ class PageExists extends Maintenance { $code = 1; } $this->output( $text ); - $this->error( '', $code ); + exit( $code ); } } -$maintClass = "PageExists"; +$maintClass = PageExists::class; require_once RUN_MAINTENANCE_IF_MAIN;