mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
리퍼러 스팸을 지우기 위해 통계에서 해당 호스트를 지우는 기능 추가. 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
25 lines
576 B
PHP
25 lines
576 B
PHP
<?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');
|
|
}
|
|
}
|
|
?>
|