mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-02 19:36:48 +00:00
e576cbdca0
Change-Id: If1405788a4adb550e8a7e8c58b0c2c55cf10ea67
26 lines
394 B
PHP
26 lines
394 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\Notifications;
|
|
|
|
class EmailFrequency {
|
|
/**
|
|
* Never send email notifications
|
|
*/
|
|
public const NEVER = -1;
|
|
|
|
/**
|
|
* Send email notifications immediately as they come in
|
|
*/
|
|
public const IMMEDIATELY = 0;
|
|
|
|
/**
|
|
* Send daily email digests
|
|
*/
|
|
public const DAILY_DIGEST = 1;
|
|
|
|
/**
|
|
* Send weekly email digests
|
|
*/
|
|
public const WEEKLY_DIGEST = 7;
|
|
}
|