mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
Remove class constant variable reference from Echo.php
This is causing fatal error in update.php
bug: 55469
Change-Id: Ib0a354addd44542f7ec4eda427c0b530f33e6c12
(cherry picked from commit 71e27f4b7a
)
This commit is contained in:
parent
1598a9685e
commit
a81149cc28
6
Echo.php
6
Echo.php
|
@ -530,12 +530,12 @@ $wgDefaultUserOptions['echo-notify-show-link'] = true;
|
||||||
$wgDefaultUserOptions['echo-show-alert'] = true;
|
$wgDefaultUserOptions['echo-show-alert'] = true;
|
||||||
|
|
||||||
// By default, send emails for each notification as they come in
|
// By default, send emails for each notification as they come in
|
||||||
$wgDefaultUserOptions['echo-email-frequency'] = EchoHooks::EMAIL_IMMEDIATELY;
|
$wgDefaultUserOptions['echo-email-frequency'] = 0; /*EchoHooks::EMAIL_IMMEDIATELY*/
|
||||||
|
|
||||||
if ( $wgAllowHTMLEmail ) {
|
if ( $wgAllowHTMLEmail ) {
|
||||||
$wgDefaultUserOptions['echo-email-format'] = EchoHooks::EMAIL_FORMAT_HTML;
|
$wgDefaultUserOptions['echo-email-format'] = 'html'; /*EchoHooks::EMAIL_FORMAT_HTML*/
|
||||||
} else {
|
} else {
|
||||||
$wgDefaultUserOptions['echo-email-format'] = EchoHooks::EMAIL_FORMAT_PLAIN_TEXT;
|
$wgDefaultUserOptions['echo-email-format'] = 'plain-text'; /*EchoHooks::EMAIL_FORMAT_PLAIN_TEXT*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set all of the events to notify by web but not email by default (won't affect events that don't email)
|
// Set all of the events to notify by web but not email by default (won't affect events that don't email)
|
||||||
|
|
Loading…
Reference in a new issue