mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Remove unnecessary session check
$_SESSION['readed_document'][$document_srl]이 이미 참일 경우 실행되는 코드이므로 $_SESSION['readed_document'][$document_srl]을 참으로 지정해 줄 필요 없움.
This commit is contained in:
parent
856c6ae4bd
commit
d946d75969
1 changed files with 0 additions and 4 deletions
|
|
@ -1176,10 +1176,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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue