mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
지정된 시간 체크, 수정시 제외 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5123 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9d8651be66
commit
6cf8eafe2f
2 changed files with 16 additions and 9 deletions
|
|
@ -48,9 +48,11 @@
|
|||
$output = $oFilterModel->isDeniedWord($text);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
// 지정된 시간 체크
|
||||
$output = $oFilterModel->checkLimited();
|
||||
if(!$output->toBool()) return $output;
|
||||
// 지정된 시간 체크, 수정시 제외
|
||||
if($obj->document_srl == 0){
|
||||
$output = $oFilterModel->checkLimited();
|
||||
if(!$output->toBool()) return $output;
|
||||
}
|
||||
|
||||
// 로그 남김
|
||||
$this->insertLog();
|
||||
|
|
@ -86,9 +88,12 @@
|
|||
$output = $oFilterModel->isDeniedWord($text);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
// 지정된 시간 체크
|
||||
$output = $oFilterModel->checkLimited();
|
||||
if(!$output->toBool()) return $output;
|
||||
// 지정된 시간 체크 수정이 아닌경우만
|
||||
if(!$obj->__isupdate){
|
||||
$output = $oFilterModel->checkLimited();
|
||||
if(!$output->toBool()) return $output;
|
||||
}
|
||||
unset($obj->__isupdate);
|
||||
|
||||
// 로그 남김
|
||||
$this->insertLog();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue