mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Remove class constant variable reference from Echo.php
This is causing fatal error in update.php bug: 55469 Change-Id: Ib0a354addd44542f7ec4eda427c0b530f33e6c12
This commit is contained in:
parent
40b7601e62
commit
71e27f4b7a
6
Echo.php
6
Echo.php
|
@ -529,12 +529,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