2003-02-08 02:06:35 +00:00
|
|
|
<?php
|
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
include_once("../inc/db.inc");
|
|
|
|
include_once("../inc/util.inc");
|
|
|
|
include_once("../inc/prefs.inc");
|
2003-02-08 02:06:35 +00:00
|
|
|
|
|
|
|
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-04-29 22:44:42 +00:00
|
|
|
prefs_privacy_parse_form($prefs);
|
2003-02-08 02:06:35 +00:00
|
|
|
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);
|
|
|
|
|
2005-02-16 19:47:00 +00:00
|
|
|
Header("Location: account_setup_first_done.php");
|
2003-02-08 02:06:35 +00:00
|
|
|
|
|
|
|
?>
|