사용하지 않는 코드 삭제

This commit is contained in:
chicpro
2014-06-05 14:24:32 +09:00
parent 78c04562a7
commit 3c65f37580
3 changed files with 0 additions and 14 deletions

View File

@ -5,8 +5,6 @@ include_once(G5_EDITOR_LIB);
auth_check($auth[$sub_menu], "w");
$category_path = G5_DATA_PATH."/category";
$sql_common = " from {$g5['g5_shop_category_table']} ";
if ($is_admin != 'super')
$sql_common .= " where ca_mb_id = '{$member['mb_id']}' ";

View File

@ -33,13 +33,6 @@ if ($w == "" || $w == "u")
}
}
$g5['category_path'] = G5_DATA_PATH."/category";
@mkdir($g5['category_path'], G5_DIR_PERMISSION);
@chmod($g5['category_path'], G5_DIR_PERMISSION);
if ($ca_image1_del) @unlink("{$g5['category_path']}/{$ca_id}_1");
if ($ca_image0_del) @unlink("{$g5['category_path']}/{$ca_id}_0");
$sql_common = " ca_order = '$ca_order',
ca_skin_dir = '$ca_skin_dir',
ca_mobile_skin_dir = '$ca_mobile_skin_dir',
@ -148,10 +141,6 @@ else if ($w == "d")
if ($str)
alert("이 분류와 관련된 상품이 총 {$i} 건 존재하므로 상품을 삭제한 후 분류를 삭제하여 주십시오.\\n\\n$str");
// 상, 하단 이미지 삭제
@unlink("{$g5['category_path']}/$ca_id"."_h");
@unlink("{$g5['category_path']}/$ca_id"."_t");
// 분류 삭제
$sql = " delete from {$g5['g5_shop_category_table']} where ca_id = '$ca_id' ";
sql_query($sql);

View File

@ -453,7 +453,6 @@ for ($i=0; $i<count($dir_arr); $i++) {
if($g5_shop_install) {
$dir_arr = array (
$data_path.'/banner',
$data_path.'/category',
$data_path.'/common',
$data_path.'/event',
$data_path.'/item'