diff options
author | Adrian Lang <mail@adrianlang.de> | 2009-03-11 10:14:32 +0100 |
---|---|---|
committer | Adrian Lang <mail@adrianlang.de> | 2009-03-11 10:14:32 +0100 |
commit | 04a05ca236e0c61da2ddc4c8f93e2ba153466342 (patch) | |
tree | 1db9aa110e63f2dba89a46b34fad7d3d614b9c63 | |
parent | 72338b8c2674b8b6de8ba2d1eafeac4f27d5af92 (diff) | |
parent | b9194e792369506cd2514dcad3e26ce483e6b72d (diff) |
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
-rw-r--r-- | classes/Notice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index ac4db944f..1e3b330f2 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -232,7 +232,7 @@ class Notice extends Memcached_DataObject $notice = new Notice(); $notice->profile_id = $profile_id; $notice->content = $content; - $notice->whereAdd('now() - created < ' . common_config('notice', 'dupelimit')); + $notice->whereAdd('now() - created < ' . common_config('site', 'dupelimit')); $cnt = $notice->count(); return ($cnt == 0); } |