mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
#17965820 가상사이트 삭제시 설정된 언어와 캐시파일 삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6221 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5e3c58dfa8
commit
d18dfeecfb
1 changed files with 10 additions and 0 deletions
|
|
@ -427,6 +427,16 @@
|
|||
$oModuleController->deleteModule($module_srl);
|
||||
}
|
||||
|
||||
// 사용자 정의 언어 제거
|
||||
$lang_args->site_srl = $site_srl;
|
||||
$output = executeQuery('module.deleteLangs', $lang_args);
|
||||
$lang_supported = Context::get('lang_supported');
|
||||
foreach($lang_supported as $key => $val) {
|
||||
$lang_cache_file = _XE_PATH_.'files/cache/lang_defined/'.$site_srl.'.'.$key.'.php';
|
||||
FileHandler::removeFile($lang_cache_file);
|
||||
}
|
||||
|
||||
|
||||
$this->setMessage('success_deleted');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue