mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
글 조회시 포인트 차감 또는 증감 할 수 있도록 기능 추가. 모듈 업데이트 필요. 중복 부과 안됨
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3501 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
860cb7e686
commit
480d7582f2
14 changed files with 76 additions and 12 deletions
|
|
@ -361,6 +361,10 @@
|
|||
// 로그 남기기
|
||||
$output = executeQuery('document.insertDocumentReadedLog', $args);
|
||||
|
||||
// 조회수 업데이트가 되면 trigger 호출 (after)
|
||||
$output = ModuleHandler::triggerCall('document.updateReadedCount', 'after', $oDocument);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
// 세션 정보에 남김
|
||||
return $_SESSION['readed_document'][$document_srl] = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue