mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
Merge "Remove ParserTestTables hook handler."
This commit is contained in:
commit
65723f1743
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue