issue 70 apply spamfilter admin UI

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8867 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2011-08-24 08:58:42 +00:00
parent 0f1ffbb83c
commit 9462e2c9d9
5 changed files with 98 additions and 17 deletions

View file

@ -93,9 +93,10 @@
**/
function checkLimited() {
$config = $this->getConfig();
$limit_count = $config->limit_count?$config->limit_count:5;
$interval = $config->interval;
if(!$interval) return new Object();
if($config->limits != 'Y') return new Object();
$limit_count = '3';
$interval = '10';
$count = $this->getLogCount($interval);