5.4 버전 회원탈퇴와 관리권한설정에 이벤트 HOOK 추가
This commit is contained in:
@ -28,6 +28,8 @@ for ($i=0; $i<$count; $i++)
|
||||
|
||||
$sql = " delete from {$g5['auth_table']} where mb_id = '".$mb_id."' and au_menu = '".$au_menu."' ";
|
||||
sql_query($sql);
|
||||
|
||||
run_event('adm_auth_delete_member', $mb_id, $au_menu);
|
||||
}
|
||||
|
||||
goto_url('./auth_list.php?'.$qstr);
|
||||
|
||||
@ -43,5 +43,7 @@ if( str_replace('-', '', G5_TIME_YMD) !== get_session('adm_auth_update') ){
|
||||
set_session('adm_auth_update', str_replace('-', '', G5_TIME_YMD));
|
||||
}
|
||||
|
||||
run_event('adm_auth_update', $mb);
|
||||
|
||||
goto_url('./auth_list.php?'.$qstr);
|
||||
?>
|
||||
|
||||
@ -3150,6 +3150,8 @@ function member_delete($mb_id)
|
||||
|
||||
// 프로필 이미지 삭제
|
||||
@unlink(G5_DATA_PATH.'/member_image/'.substr($mb_id,0,2).'/'.$mb_id.'.gif');
|
||||
|
||||
run_event('member_delete_after', $mb_id);
|
||||
}
|
||||
|
||||
// 이메일 주소 추출
|
||||
|
||||
Reference in New Issue
Block a user