Merge "Remove ParserTestTables hook handler."

This commit is contained in:
jenkins-bot 2021-07-30 13:24:58 +00:00 committed by Gerrit Code Review
commit 65723f1743
2 changed files with 0 additions and 12 deletions

View file

@ -477,7 +477,6 @@
"UserSaveOptions": "EchoHooks::onUserSaveOptions",
"UserGetDefaultOptions": "EchoHooks::onUserGetDefaultOptions",
"UserClearNewTalkNotification": "EchoHooks::onUserClearNewTalkNotification",
"ParserTestTables": "EchoHooks::onParserTestTables",
"EmailUserComplete": "EchoHooks::onEmailUserComplete",
"LoginFormValidErrorMessages": "EchoHooks::onLoginFormValidErrorMessages",
"OutputPageCheckLastModified": "EchoHooks::onOutputPageCheckLastModified",

View file

@ -1374,17 +1374,6 @@ class EchoHooks implements RecentChange_saveHook {
}
}
/**
* Handler for ParserTestTables hook, makes sure that Echo's tables are present during tests
* @see https://www.mediawiki.org/wiki/Manual:Hooks/ParserTestTables
* @param array &$tables List of DB tables to be used for parser tests
*/
public static function onParserTestTables( &$tables ) {
$tables[] = 'echo_event';
$tables[] = 'echo_notification';
$tables[] = 'echo_email_batch';
}
/**
* Handler for EmailUserComplete hook.
* @see https://www.mediawiki.org/wiki/Manual:Hooks/EmailUserComplete