2003-02-08 02:06:35 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
include_once("db.inc");
|
|
|
|
include_once("util.inc");
|
|
|
|
include_once("prefs.inc");
|
|
|
|
|
|
|
|
db_init();
|
|
|
|
|
2003-03-19 21:01:32 +00:00
|
|
|
$user = get_logged_in_user();
|
2003-02-08 02:06:35 +00:00
|
|
|
|
2003-02-18 23:07:48 +00:00
|
|
|
// TODO: consolidate the three DB updates into one
|
|
|
|
|
2003-03-04 19:13:21 +00:00
|
|
|
$prefs = prefs_parse_global($user->global_prefs);
|
2003-02-18 23:07:48 +00:00
|
|
|
prefs_global_parse_form($prefs);
|
|
|
|
global_prefs_update($user, $prefs);
|
|
|
|
|
2003-03-04 19:13:21 +00:00
|
|
|
$prefs = prefs_parse_project($user->project_prefs);
|
2003-02-08 02:06:35 +00:00
|
|
|
prefs_email_parse_form($prefs);
|
|
|
|
project_prefs_update($user, $prefs);
|
2003-02-18 23:07:48 +00:00
|
|
|
|
2003-03-05 06:21:24 +00:00
|
|
|
venue_parse_form($user);
|
2003-02-18 23:07:48 +00:00
|
|
|
venue_update($user);
|
|
|
|
|
|
|
|
Header("Location: account_setup_first_download.php");
|
2003-02-08 02:06:35 +00:00
|
|
|
|
|
|
|
?>
|