X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpageExists.php;h=10d37de48cfd71266384d0f284c822ed3b0c0d9a;hb=58c35490abc1f5aa04d447c28cdecd48b2667eaf;hp=24ec8cb83999e87c701cc15e2a480953b1966d19;hpb=785960660f2a29f59eaaf760e71f675b9a71de8c;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/pageExists.php b/maintenance/pageExists.php index 24ec8cb839..10d37de48c 100644 --- a/maintenance/pageExists.php +++ b/maintenance/pageExists.php @@ -36,7 +36,6 @@ class PageExists extends Maintenance { $title = Title::newFromText( $titleArg ); $pageExists = $title && $title->exists(); - $text = ''; $code = 0; if ( $pageExists ) { $text = "{$title} exists."; @@ -49,5 +48,5 @@ class PageExists extends Maintenance { } } -$maintClass = "PageExists"; +$maintClass = PageExists::class; require_once RUN_MAINTENANCE_IF_MAIN;