[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [19017] Fix read_repository things
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] [19017] Fix read_repository things |
Date: |
Wed, 10 Dec 2008 17:47:27 +0000 |
Revision: 19017
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19017
Author: Caeies
Date: 2008-12-10 17:47:27 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
Fix read_repository things
Modified Paths:
--------------
core/trunk/calendar/inc/class.bocalendar.inc.php
core/trunk/calendar/inc/class.bocustom_fields.inc.php
core/trunk/calendar/inc/class.boholiday.inc.php
core/trunk/calendar/inc/class.calendar_holiday.inc.php
core/trunk/calendar/inc/class.uicalendar.inc.php
core/trunk/calendar/inc/hook_home.inc.php
core/trunk/calendar/preferences.php
Modified: core/trunk/calendar/inc/class.bocalendar.inc.php
===================================================================
--- core/trunk/calendar/inc/class.bocalendar.inc.php 2008-12-10 17:33:28 UTC
(rev 19016)
+++ core/trunk/calendar/inc/class.bocalendar.inc.php 2008-12-10 17:47:27 UTC
(rev 19017)
@@ -2631,7 +2631,7 @@
print_debug('UserID',$userid);
$preferences =
CreateObject('phpgwapi.preferences',$userid);
- $part_prefs =
$preferences->read_repository();
+ $part_prefs = $preferences->read();
if
(!$this->update_requested($userid,$part_prefs,$msg_type,$old_event,$new_event))
{
Modified: core/trunk/calendar/inc/class.bocustom_fields.inc.php
===================================================================
--- core/trunk/calendar/inc/class.bocustom_fields.inc.php 2008-12-10
17:33:28 UTC (rev 19016)
+++ core/trunk/calendar/inc/class.bocustom_fields.inc.php 2008-12-10
17:47:27 UTC (rev 19017)
@@ -52,7 +52,7 @@
public function __construct()
{
$this->config =
CreateObject('phpgwapi.config','calendar');
- $this->config->read_repository();
+ $this->config->read();
$this->fields = &$this->config->config_data['fields'];
Modified: core/trunk/calendar/inc/class.boholiday.inc.php
===================================================================
--- core/trunk/calendar/inc/class.boholiday.inc.php 2008-12-10 17:33:28 UTC
(rev 19016)
+++ core/trunk/calendar/inc/class.boholiday.inc.php 2008-12-10 17:47:27 UTC
(rev 19017)
@@ -212,7 +212,7 @@
if($this->owner !=
$GLOBALS['phpgw_info']['user']['account_id'])
{
$owner_pref =
CreateObject('phpgwapi.preferences',$owner);
- $owner_prefs = $owner_pref->read_repository();
+ $owner_prefs = $owner_pref->read();
if(@$owner_prefs['common']['country'])
{
$this->locales[] =
$owner_prefs['common']['country'];
Modified: core/trunk/calendar/inc/class.calendar_holiday.inc.php
===================================================================
--- core/trunk/calendar/inc/class.calendar_holiday.inc.php 2008-12-10
17:33:28 UTC (rev 19016)
+++ core/trunk/calendar/inc/class.calendar_holiday.inc.php 2008-12-10
17:47:27 UTC (rev 19017)
@@ -49,7 +49,7 @@
if($owner_id != $phpgw_info['user']['account_id'])
{
$owner_pref =
CreateObject('phpgwapi.preferences',$owner_id);
- $owner_prefs = $owner_pref->read_repository();
+ $owner_prefs = $owner_pref->read();
if(isset($owner_prefs['calendar']['locale']) &&
$owner_prefs['common']['country'])
{
$this->users['owner'] =
$owner_prefs['common']['country'];
Modified: core/trunk/calendar/inc/class.uicalendar.inc.php
===================================================================
--- core/trunk/calendar/inc/class.uicalendar.inc.php 2008-12-10 17:33:28 UTC
(rev 19016)
+++ core/trunk/calendar/inc/class.uicalendar.inc.php 2008-12-10 17:47:27 UTC
(rev 19017)
@@ -1293,7 +1293,7 @@
//
if (!
$this->bo->prefs['calendar']['planner_intervals_per_day'])
{
-
$GLOBALS['phpgw']->preferences->read_repository();
+ $GLOBALS['phpgw']->preferences->read();
$GLOBALS['phpgw']->preferences->add('calendar','planner_intervals_per_day',3);
$GLOBALS['phpgw']->preferences->save_repository();
$this->bo->prefs['calendar']['planner_intervals_per_day'] = 3;
Modified: core/trunk/calendar/inc/hook_home.inc.php
===================================================================
--- core/trunk/calendar/inc/hook_home.inc.php 2008-12-10 17:33:28 UTC (rev
19016)
+++ core/trunk/calendar/inc/hook_home.inc.php 2008-12-10 17:47:27 UTC (rev
19017)
@@ -37,7 +37,7 @@
if ( $_page=='index' || ($_page != 'day' && $_page != 'week' && $_page
!= 'month' && $_page != 'year' && $_page != 'planner'))
{
$_page = 'month';
- $GLOBALS['phpgw']->preferences->read_repository();
+ $GLOBALS['phpgw']->preferences->read();
$GLOBALS['phpgw']->preferences->add('calendar','defaultcalendar','month');
$GLOBALS['phpgw']->preferences->save_repository();
}
@@ -45,7 +45,7 @@
if(address@hidden(PHPGW_INCLUDE_ROOT.'/calendar/inc/hook_home_'.$_page.'.inc.php'))
{
$_page = 'month';
- $GLOBALS['phpgw']->preferences->read_repository();
+ $GLOBALS['phpgw']->preferences->read();
$GLOBALS['phpgw']->preferences->add('calendar','defaultcalendar','month');
$GLOBALS['phpgw']->preferences->save_repository();
}
Modified: core/trunk/calendar/preferences.php
===================================================================
--- core/trunk/calendar/preferences.php 2008-12-10 17:33:28 UTC (rev 19016)
+++ core/trunk/calendar/preferences.php 2008-12-10 17:47:27 UTC (rev 19017)
@@ -26,7 +26,7 @@
if ( phpgw::get_var('submit', 'bool', 'POST') )
{
- $phpgw->preferences->read_repository();
+ $phpgw->preferences->read();
$phpgw->preferences->add('calendar','weekdaystarts');
$phpgw->preferences->add('calendar','workdaystarts');
$phpgw->preferences->add('calendar','workdayends');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [19017] Fix read_repository things,
Caeies <=