mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
multi spam ip delete
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12536 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b8706b14b9
commit
16ee384ac8
2 changed files with 22 additions and 5 deletions
|
|
@ -69,11 +69,20 @@ class spamfilterAdminController extends spamfilter
|
|||
*/
|
||||
function procSpamfilterAdminDeleteDeniedIP()
|
||||
{
|
||||
$ipaddress = Context::get('ipaddress');
|
||||
$output = $this->deleteIP($ipaddress);
|
||||
$ipAddressList = Context::get('ipaddress');
|
||||
|
||||
if(is_array($ipAddressList))
|
||||
{
|
||||
foreach($ipAddressList AS $key=>$ipaddress)
|
||||
{
|
||||
$this->deleteIP($ipaddress);
|
||||
}
|
||||
}
|
||||
|
||||
$this->setMessage(Context::getLang('success_deleted'));
|
||||
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispSpamfilterAdminDeniedIPList');
|
||||
return $this->setRedirectUrl($returnUrl, $output);
|
||||
return $this->setRedirectUrl($returnUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue