git-svn-id: http://xe-core.googlecode.com/svn/trunk@1228 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-19 04:14:54 +00:00
parent 70d5a362db
commit bf21c5b538
23 changed files with 53 additions and 57 deletions

View file

@ -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);
}