mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-24 06:54:08 +00:00
Fix typos
Change-Id: I49e7e28de3efcb5836e2d99faa357b9f368573b6
This commit is contained in:
parent
f58cec3a69
commit
a35502916d
|
@ -204,7 +204,7 @@ class LoginNotifyHooks {
|
|||
*
|
||||
* @todo This is a bit icky. Need to decide if we really want to do this.
|
||||
* @todo If someone explicitly enables, gets admin rights, gets de-admined,
|
||||
* this will then disable the preference, which is defnitely non-ideal.
|
||||
* this will then disable the preference, which is definitely non-ideal.
|
||||
* @param $user User
|
||||
* @param &$options array
|
||||
* @return bool
|
||||
|
@ -241,7 +241,7 @@ class LoginNotifyHooks {
|
|||
/**
|
||||
* Helper for onUser(Load|Save)Options
|
||||
*
|
||||
* @return Array Which option keys to check
|
||||
* @return array Which option keys to check
|
||||
*/
|
||||
private static function getOverridenOptions() {
|
||||
// For login-success, it makes most sense to email
|
||||
|
|
|
@ -584,7 +584,7 @@ class LoginNotify implements LoggerAwareInterface {
|
|||
*
|
||||
* @param $key string cache key
|
||||
* @param $max int interval of one to send notice
|
||||
* @param $expiry When to expire cache key.
|
||||
* @param $expiry int When to expire cache key.
|
||||
* @return Bool|int false to not send notice, or number of hits
|
||||
*/
|
||||
private function checkAndIncKey( $key, $interval, $expiry ) {
|
||||
|
|
Loading…
Reference in a new issue