5.4 버전 hook 이벤트 추가 및 hook 추적에 Object도 가능하게 수정

This commit is contained in:
thisgun
2020-10-19 18:21:17 +09:00
parent df9891e68b
commit 94d04817c7
7 changed files with 57 additions and 13 deletions

View File

@ -754,6 +754,7 @@ function get_group($gr_id, $is_cache=false)
static $cache = array();
$gr_id = preg_replace('/[^a-z0-9_]/i', '', $gr_id);
$cache = run_replace('get_group_db_cache', $cache, $gr_id, $is_cache);
$key = md5($gr_id);
if( $is_cache && isset($cache[$key]) ){