X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FMaintenance.php;h=5adbee5fc31d0e27730ef242a794785a1cef5aba;hb=1a21a63d52b9ebf940cd35f041d675d39c9d474a;hp=861a61328ebe6c8dcc2af13737f14738ac610620;hpb=b2dea48568d1b0aa7685e03186dc70dad038c740;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 861a61328e..5adbee5fc3 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -182,7 +182,7 @@ abstract class Maintenance { if ( $count < 2 ) { return false; // sanity } - if ( $bt[0]['class'] !== 'Maintenance' || $bt[0]['function'] !== 'shouldExecute' ) { + if ( $bt[0]['class'] !== self::class || $bt[0]['function'] !== 'shouldExecute' ) { return false; // last call should be to this function } $includeFuncs = [ 'require_once', 'require', 'include', 'include_once' ];