mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
isAccessible()로 통일
This commit is contained in:
parent
81986c40a9
commit
f8ac11bda6
10 changed files with 16 additions and 22 deletions
|
|
@ -328,13 +328,12 @@ class boardView extends board
|
|||
));
|
||||
|
||||
// update the document view count (if the document is not secret)
|
||||
if(!$oDocument->isSecret() || $oDocument->isGranted())
|
||||
if($oDocument->isAccessible())
|
||||
{
|
||||
$oDocument->updateReadedCount();
|
||||
}
|
||||
|
||||
// disappear the document if it is secret
|
||||
if($oDocument->isSecret() && !$oDocument->isGranted())
|
||||
else
|
||||
{
|
||||
$oDocument->add('content',lang('thisissecret'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue