mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix #633 inability to move admin's document
This commit is contained in:
parent
9a376ff1b4
commit
33ed9a94bf
1 changed files with 0 additions and 7 deletions
|
|
@ -79,13 +79,6 @@ class documentAdminController extends document
|
|||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||
if(!$oDocument->isExists()) continue;
|
||||
|
||||
$oMemberModel = getModel('member');
|
||||
$logged_info = Context::get('logged_info');
|
||||
$member_info = $oMemberModel->getMemberInfoByMemberSrl($oDocument->get('member_srl'));
|
||||
if($member_info->is_admin == 'Y' && $logged_info->is_admin != 'Y')
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
$source_category_srl = $oDocument->get('category_srl');
|
||||
|
||||
unset($obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue