X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfindHooks.php;h=9903c9efd3b27e7dd0b6673f40d590ca289b5e24;hb=5e3c21a7003a4fc8d4b8c327530421330c3331b0;hp=6a21a61a48e2a8462c0fed9ea96a47875dfc3917;hpb=d1000765e7ee710bf892e3772afdabfb5f6b1f6c;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index 6a21a61a48..9903c9efd3 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -245,7 +245,7 @@ class FindHooks extends Maintenance { $m = []; preg_match_all( // All functions which runs hooks - '/(?:wfRunHooks|Hooks\:\:run)\s*\(\s*' . + '/(?:wfRunHooks|Hooks\:\:run|Hooks\:\:runWithoutAbort)\s*\(\s*' . // First argument is the hook name as string '([\'"])(.*?)\1' . // Comma for second argument @@ -349,5 +349,5 @@ class FindHooks extends Maintenance { } } -$maintClass = 'FindHooks'; +$maintClass = FindHooks::class; require_once RUN_MAINTENANCE_IF_MAIN;