게시판 삭제시 좋아요 테이블의 기록도 삭제 코드 추가

This commit is contained in:
thisgun
2020-03-10 19:40:32 +09:00
parent a5d959deb8
commit 86f8c1a1c1
2 changed files with 4 additions and 1 deletions

View File

@ -26,6 +26,9 @@ sql_query(" delete from {$g5['board_file_table']} where bo_table = '{$tmp_bo_tab
// 게시판 테이블 DROP
sql_query(" drop table {$g5['write_prefix']}{$tmp_bo_table} ", FALSE);
// 좋아요 테이블에서 기록 삭제
sql_query(" delete from {$g5['board_good_table']} where bo_table = '{$tmp_bo_table}' ");
delete_cache_latest($tmp_bo_table);
// 게시판 폴더 전체 삭제