mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Delete unnecessary variable #1942
- 이 변수는 권한 컨트롤에 사용하지 않고 있으므로 삭제 - 버그를 해결하는 것은 아님
This commit is contained in:
parent
59a1215c87
commit
16b693c7c7
1 changed files with 1 additions and 6 deletions
|
|
@ -546,21 +546,16 @@ class pointController extends point
|
||||||
{
|
{
|
||||||
if (!$logged_member_srl && $config->disable_read_document_except_robots == 'Y' && isCrawler())
|
if (!$logged_member_srl && $config->disable_read_document_except_robots == 'Y' && isCrawler())
|
||||||
{
|
{
|
||||||
$_SESSION['banned_document'][$obj->document_srl] = false;
|
// pass
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$message = sprintf(lang('msg_disallow_by_point'), abs($reader_point), $cur_point);
|
$message = sprintf(lang('msg_disallow_by_point'), abs($reader_point), $cur_point);
|
||||||
$obj->add('content', $message);
|
$obj->add('content', $message);
|
||||||
$GLOBALS['XE_EXTRA_VARS'][$obj->document_srl] = array();
|
$GLOBALS['XE_EXTRA_VARS'][$obj->document_srl] = array();
|
||||||
$_SESSION['banned_document'][$obj->document_srl] = true;
|
|
||||||
return new BaseObject(-1, $message);
|
return new BaseObject(-1, $message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
$_SESSION['banned_document'][$obj->document_srl] = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Record the fact that this member has already read this document.
|
// Record the fact that this member has already read this document.
|
||||||
if ($logged_member_srl)
|
if ($logged_member_srl)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue