global_prefs); $main_prefs->$venue = null; global_prefs_update($user, $main_prefs); } else { $main_prefs = prefs_parse_project($user->project_prefs); $main_prefs->$venue = null; project_prefs_update($user, $main_prefs); } Header("Location: prefs.php?subset=$subset"); } else { page_head("Confirm delete preferences"); echo "
Are you sure you want to delete your separate ", subset_name($subset),
" preferences for $venue?
Yes
| Cancel
";
page_tail();
}
?>