= 1) { db_query ("DELETE FROM $table_quota WHERE username='$fDelete'"); } $result = db_query("SELECT * FROM $table_quota2 WHERE username='$fDelete'"); if($result['rows'] == 1) { db_query ("DELETE FROM $table_quota2 WHERE username='$fDelete'"); } } if ($error != 1) { db_commit(); } else { flash_error($PALANG['pDelete_delete_error'] . "$fDelete (physical mail)!"); db_rollback(); } header ("Location: list-virtual.php?domain=$fDomain"); exit; } else { flash_error($PALANG['invalid_parameter']); header("Location: main.php"); exit; } # we should most probably never reach this point $smarty->assign ('smarty_template', 'message'); flash_error("If you see this, please open a bugreport and include the exact delete.php parameters."); $smarty->display ('index.tpl'); /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ ?>