summaryrefslogtreecommitdiff
path: root/plugins/RegisterThrottle/RegisterThrottlePlugin.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-18 11:50:27 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-18 11:50:27 +0200
commit1ee1f6621f16140c332eec796fb9a344192393f6 (patch)
tree329d3ac29acec3d213619cddecd4903ae0530e8e /plugins/RegisterThrottle/RegisterThrottlePlugin.php
parentf0716819ec206e6b407c7cefcc463e946127bacf (diff)
* update i18n/L10n
* remove superfluous whitespace
Diffstat (limited to 'plugins/RegisterThrottle/RegisterThrottlePlugin.php')
-rw-r--r--plugins/RegisterThrottle/RegisterThrottlePlugin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/RegisterThrottle/RegisterThrottlePlugin.php b/plugins/RegisterThrottle/RegisterThrottlePlugin.php
index 05709b780..89c1d3d00 100644
--- a/plugins/RegisterThrottle/RegisterThrottlePlugin.php
+++ b/plugins/RegisterThrottle/RegisterThrottlePlugin.php
@@ -113,7 +113,6 @@ class RegisterThrottlePlugin extends Plugin
* @return boolean hook value
*
*/
-
function onStartRegistrationTry($action)
{
$ipaddress = $this->_getIpAddress();
@@ -134,7 +133,7 @@ class RegisterThrottlePlugin extends Plugin
$now = time();
$this->debug("Comparing {$regtime} to {$now}");
if ($now - $regtime < $seconds) {
- throw new Exception(_("Too many registrations. Take a break and try again later."));
+ throw new Exception(_m("Too many registrations. Take a break and try again later."));
}
}
}