mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Merge "Remove ParserTestTables hook handler."
This commit is contained in:
commit
65723f1743
|
@ -477,7 +477,6 @@
|
||||||
"UserSaveOptions": "EchoHooks::onUserSaveOptions",
|
"UserSaveOptions": "EchoHooks::onUserSaveOptions",
|
||||||
"UserGetDefaultOptions": "EchoHooks::onUserGetDefaultOptions",
|
"UserGetDefaultOptions": "EchoHooks::onUserGetDefaultOptions",
|
||||||
"UserClearNewTalkNotification": "EchoHooks::onUserClearNewTalkNotification",
|
"UserClearNewTalkNotification": "EchoHooks::onUserClearNewTalkNotification",
|
||||||
"ParserTestTables": "EchoHooks::onParserTestTables",
|
|
||||||
"EmailUserComplete": "EchoHooks::onEmailUserComplete",
|
"EmailUserComplete": "EchoHooks::onEmailUserComplete",
|
||||||
"LoginFormValidErrorMessages": "EchoHooks::onLoginFormValidErrorMessages",
|
"LoginFormValidErrorMessages": "EchoHooks::onLoginFormValidErrorMessages",
|
||||||
"OutputPageCheckLastModified": "EchoHooks::onOutputPageCheckLastModified",
|
"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.
|
* Handler for EmailUserComplete hook.
|
||||||
* @see https://www.mediawiki.org/wiki/Manual:Hooks/EmailUserComplete
|
* @see https://www.mediawiki.org/wiki/Manual:Hooks/EmailUserComplete
|
||||||
|
|
Loading…
Reference in a new issue