mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 19:59:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1228 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
70d5a362db
commit
bf21c5b538
23 changed files with 53 additions and 57 deletions
|
|
@ -832,7 +832,14 @@
|
|||
* @brief 관리자를 추가한다
|
||||
**/
|
||||
function insertAdmin($args) {
|
||||
// 관리자임을 설정
|
||||
$args->is_admin = 'Y';
|
||||
|
||||
// 관리자 그룹을 구해와서 설정
|
||||
$oMemberModel = &getModel('member');
|
||||
$admin_group = $oMemberModel->getAdminGroup();
|
||||
$args->group_srl_list = $admin_group->group_srl;
|
||||
|
||||
return $this->insertMember($args);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue