From f59a1c8ebcaed261ed9a31cddf2ce31b27a83316 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Sat, 11 Nov 2000 18:51:14 +0000 Subject: [PATCH] added a missing ["calendar"] --- calendar/preferences.php | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/calendar/preferences.php b/calendar/preferences.php index 27901610e4..4efb76d30f 100644 --- a/calendar/preferences.php +++ b/calendar/preferences.php @@ -16,13 +16,13 @@ include("../header.inc.php"); if ($submit) { - $phpgw->common->preferences_delete("byapp",$phpgw_info["user"]["account_id"],"calendar"); + $phpgw->preferences->preferences_delete("byapp",$phpgw_info["user"]["account_id"],"calendar"); - $phpgw->common->preferences_add($phpgw_info["user"]["account_id"],"weekdaystarts","calendar"); - $phpgw->common->preferences_add($phpgw_info["user"]["account_id"],"workdaystarts","calendar"); - $phpgw->common->preferences_add($phpgw_info["user"]["account_id"],"workdayends","calendar"); + $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"weekdaystarts","calendar"); + $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"workdaystarts","calendar"); + $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"workdayends","calendar"); if ($mainscreen_showevents) { - $phpgw->common->preferences_add($phpgw_info["user"]["account_id"],"mainscreen_showevents","calendar"); + $phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"mainscreen_showevents","calendar"); } Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/preferences/index.php")); exit; @@ -36,6 +36,7 @@ } echo "

" . lang("Calendar preferences") . ":" . "


"; + ?>

@@ -45,7 +46,10 @@ nextmatchs->alternate_row_color($tr_color); ?> - + - \ No newline at end of file +
?>> +