From cbef39f967d0ce099144238a0ddd02becdf439d0 Mon Sep 17 00:00:00 2001 From: seek3r Date: Wed, 30 Aug 2000 17:54:13 +0000 Subject: [PATCH] updated to new location for the show_date function --- admin/newaccount.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/admin/newaccount.php b/admin/newaccount.php index ce21eda4fe..467123cf4d 100755 --- a/admin/newaccount.php +++ b/admin/newaccount.php @@ -39,19 +39,19 @@ if (! $error) { $phpgw->db->lock(array("accounts","preferences")); - $phpgw->preferences->add_with_value($n_loginid,"maxmatchs","15"); - $phpgw->preferences->add_with_value($n_loginid,"theme","default"); - $phpgw->preferences->add_with_value($n_loginid,"tz_offset","0"); - $phpgw->preferences->add_with_value($n_loginid,"dateformat","m/d/Y"); - $phpgw->preferences->add_with_value($n_loginid,"timeformat","12"); - $phpgw->preferences->add_with_value($n_loginid,"lang","en"); + $phpgw->common->preferences_add($n_loginid,"maxmatchs","15"); + $phpgw->common->preferences_add($n_loginid,"theme","default"); + $phpgw->common->preferences_add($n_loginid,"tz_offset","0"); + $phpgw->common->preferences_add($n_loginid,"dateformat","m/d/Y"); + $phpgw->common->preferences_add($n_loginid,"timeformat","12"); + $phpgw->common->preferences_add($n_loginid,"lang","en"); // Even if they don't have access to the calendar, we will add these. // Its better then the calendar being all messed up, they will be deleted // the next time the update there preferences. - $phpgw->preferences->add_with_value($n_loginid,"weekstarts","Monday"); - $phpgw->preferences->add_with_value($n_loginid,"workdaystarts","9"); - $phpgw->preferences->add_with_value($n_loginid,"workdayends","17"); + $phpgw->common->preferences_add($n_loginid,"weekstarts","Monday"); + $phpgw->common->preferences_add($n_loginid,"workdaystarts","9"); + $phpgw->common->preferences_add($n_loginid,"workdayends","17"); while ($permission = each($new_permissions)) { if ($phpgw_info["apps"][$permission[0]]["enabled"]) {