mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +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 = new documentItem();
|
||||||
$oDocument->setAttribute($attribute, false);
|
$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];
|
$output->data[$key] = $GLOBALS['XE_DOCUMENT_LIST'][$attribute->document_srl];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue