delete_supermaster.php
changeset 126 cb06e3e29ed8
parent 119 f74e4f88b680
child 160 19cc35549204
equal deleted inserted replaced
125:700a3674b72e 126:cb06e3e29ed8
    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