equal
deleted
inserted
replaced
33 } |
33 } |
34 |
34 |
35 if ($master_ip == "-1"){ |
35 if ($master_ip == "-1"){ |
36 error(ERR_INV_INPUT); |
36 error(ERR_INV_INPUT); |
37 } else { |
37 } else { |
38 (verify_permission(supermaster_edit)) ? $perm_sm_edit = "1" : $perm_sm_edit = "0" ; |
38 (verify_permission('supermaster_edit')) ? $perm_sm_edit = "1" : $perm_sm_edit = "0" ; |
39 if ($perm_sm_edit == "0") { |
39 if ($perm_sm_edit == "0") { |
40 error(ERR_PERM_DEL_SM); |
40 error(ERR_PERM_DEL_SM); |
41 } else { |
41 } else { |
42 $info = get_supermaster_info_from_ip($master_ip); |
42 $info = get_supermaster_info_from_ip($master_ip); |
43 |
43 |