git-svn-id: http://xe-core.googlecode.com/svn/trunk@397 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-13 07:55:22 +00:00
parent 9086194365
commit 1f0a326d1b
6 changed files with 12 additions and 7 deletions

View file

@ -80,9 +80,13 @@
* @brief 숏컷의 내용 수정
**/
function procDeleteShortCut() {
$oDB = &DB::getInstance();
$args->shortcut_srl = Context::get('shortcut_srl');
$args->module = Context::get('selected_module');
// 삭제 불가능 바로가기의 처리
if(in_array($args->module, array('module','addon','plugin','layout'))) return new Object(-1, 'msg_manage_module_cannot_delete');
$output = $oDB->executeQuery('admin.deleteShortCut', $args);
if(!$output->toBool()) return $output;