5.4버전 게시물 복사이동시 hook 코드 추가
This commit is contained in:
@ -192,6 +192,8 @@ while ($row = sql_fetch_array($result))
|
|||||||
|
|
||||||
sql_query(" update {$g5['board_table']} set bo_count_write = bo_count_write + '$count_write' where bo_table = '$move_bo_table' ");
|
sql_query(" update {$g5['board_table']} set bo_count_write = bo_count_write + '$count_write' where bo_table = '$move_bo_table' ");
|
||||||
sql_query(" update {$g5['board_table']} set bo_count_comment = bo_count_comment + '$count_comment' where bo_table = '$move_bo_table' ");
|
sql_query(" update {$g5['board_table']} set bo_count_comment = bo_count_comment + '$count_comment' where bo_table = '$move_bo_table' ");
|
||||||
|
|
||||||
|
run_event('bbs_move_copy', $row2, $move_bo_table, $insert_id, $next_wr_num, $sw);
|
||||||
|
|
||||||
delete_cache_latest($move_bo_table);
|
delete_cache_latest($move_bo_table);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user