diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-11-28 11:27:25 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-11-28 11:27:25 -0800 |
commit | eb010554ff963a1f73661bf96d99697abb7dfde4 (patch) | |
tree | cabf85c2dc223cfbb2f649b1c45adfe04ba3e70a /modules/gallery/helpers/auth.php | |
parent | 76b6daefaa4009fdd8de72b8f25259200a66d477 (diff) |
Replace self::func() with <helper_name>::func() for all public APIs
and constants to make overloading easier. Fixes #1510.
Diffstat (limited to 'modules/gallery/helpers/auth.php')
-rw-r--r-- | modules/gallery/helpers/auth.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/auth.php b/modules/gallery/helpers/auth.php index 48b5fc32..fa6242b9 100644 --- a/modules/gallery/helpers/auth.php +++ b/modules/gallery/helpers/auth.php @@ -74,13 +74,13 @@ class auth_Core { } static function validate_too_many_failed_logins($name_input) { - if (self::too_many_failures($name_input->value)) { + if (auth::too_many_failures($name_input->value)) { $name_input->add_error("too_many_failed_logins", 1); } } static function validate_too_many_failed_auth_attempts($form_input) { - if (self::too_many_failures(identity::active_user()->name)) { + if (auth::too_many_failures(identity::active_user()->name)) { $form_input->add_error("too_many_failed_auth_attempts", 1); } } |