Skip to content

Commit

Permalink
회원 삭제시 프로필이미지도 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Mar 4, 2019
1 parent 3574a09 commit eb8bcb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/common.lib.php
Expand Up @@ -2967,6 +2967,9 @@ function member_delete($mb_id)

// 아이콘 삭제
@unlink(G5_DATA_PATH.'/member/'.substr($mb_id,0,2).'/'.$mb_id.'.gif');

// 프로필 이미지 삭제
@unlink(G5_DATA_PATH.'/member_image/'.substr($mb_id,0,2).'/'.$mb_id.'.gif');
}

// 이메일 주소 추출
Expand Down

0 comments on commit eb8bcb0

Please sign in to comment.