mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
ticket:418
리퍼러 스팸을 지우기 위해 통계에서 해당 호스트를 지우는 기능 추가. Added a feature deleting host from statistics to remove referer spams. git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4073 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b514953161
commit
8974765953
11 changed files with 111 additions and 7 deletions
25
modules/referer/referer.admin.controller.php
Normal file
25
modules/referer/referer.admin.controller.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @class refererAdminController
|
||||
* @author haneul (haneul0318@gmail.com)
|
||||
* @brief referer 모듈의 admin controller class
|
||||
**/
|
||||
|
||||
class refererAdminController extends referer {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
function procRefererAdminDeleteStat() {
|
||||
$args->host = Context::get('host');
|
||||
$output = executeQuery('referer.deleteRefererStat', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$this->setMessage('success_deleted');
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue