mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Remove unnecessary check using undeclared variable $is_admin
This commit is contained in:
parent
c3cc12008e
commit
5c99a23e68
1 changed files with 0 additions and 5 deletions
|
|
@ -277,11 +277,6 @@ class documentModel extends document
|
|||
$oDocument = new documentItem();
|
||||
$oDocument->setAttribute($attribute, false);
|
||||
}
|
||||
if($is_admin)
|
||||
{
|
||||
$GLOBALS['XE_DOCUMENT_LIST'][$attribute->document_srl]->setGrant();
|
||||
}
|
||||
|
||||
$output->data[$key] = $GLOBALS['XE_DOCUMENT_LIST'][$attribute->document_srl];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue