Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
This commit is contained in:
commit
04a05ca236
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user