mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
Merge "Echo: Disable standard email notifications"
This commit is contained in:
commit
c3b77b543e
3
Echo.php
3
Echo.php
|
@ -121,6 +121,9 @@ $wgHooks['WatchArticleComplete'][] = 'EchoHooks::onWatch';
|
|||
$wgHooks['UnwatchArticleComplete'][] = 'EchoHooks::onUnwatch';
|
||||
$wgHooks['ArticleSaveComplete'][] = 'EchoHooks::onArticleSaved';
|
||||
|
||||
// Disable ordinary email notifications
|
||||
$wgHooks['AbortEmailNotification'][] = 'EchoHooks::abortEmailNotification';
|
||||
|
||||
// Configuration
|
||||
|
||||
$wgEchoDefaultNotificationTypes = array(
|
||||
|
|
Loading…
Reference in a new issue