Merge pull request #1000 from kijin/pr/more-points

더 다양한 상황에서 포인트를 주고받을 수 있도록 개선
This commit is contained in:
Kijin Sung 2018-02-02 17:41:25 +09:00 committed by GitHub
commit 431ed92454
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 263 additions and 130 deletions

View file

@ -1179,10 +1179,6 @@ class documentController extends document
// Option 'some': only count once per session.
if ($config->view_count_option != 'all' && $_SESSION['readed_document'][$document_srl])
{
if (Context::getSessionStatus())
{
$_SESSION['readed_document'][$document_srl] = true;
}
return false;
}