summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 031ccd583..ceec7a2fa 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -100,7 +100,7 @@ class Notice extends Memcached_DataObject
return _('Problem saving notice. Unknown user.');
}
- if (!Notice::checkEditThrottle($profile_id)) {
+ if (common_config('throttle', 'enabled') && !Notice::checkEditThrottle($profile_id)) {
common_log(LOG_WARNING, 'Excessive posting by profile #' . $profile_id . '; throttled.');
return _('Too many notices too fast; take a breather and post again in a few minutes.');
}