phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [18992] Fix read_repository things


From: Caeies
Subject: [Phpgroupware-cvs] [18992] Fix read_repository things
Date: Wed, 19 Nov 2008 17:53:58 +0000

Revision: 18992
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18992
Author:   Caeies
Date:     2008-11-19 17:53:58 +0000 (Wed, 19 Nov 2008)

Log Message:
-----------
Fix read_repository things

Modified Paths:
--------------
    core/trunk/phpgwapi/inc/class.sessions.inc.php

Modified: core/trunk/phpgwapi/inc/class.sessions.inc.php
===================================================================
--- core/trunk/phpgwapi/inc/class.sessions.inc.php      2008-11-19 17:53:03 UTC 
(rev 18991)
+++ core/trunk/phpgwapi/inc/class.sessions.inc.php      2008-11-19 17:53:58 UTC 
(rev 18992)
@@ -1414,7 +1414,7 @@
                                }
                                // save time of mail, to not send to many mails
                                $config = createObject('phpgwapi.config', 
'phpgwapi');
-                               $config->read_repository();
+                               $config->read();
                                $config->value('login_blocked_mail_time', 
time());
                                $config->save_repository();
                        }
@@ -1458,10 +1458,10 @@
                 */
                protected function _setup_cache($write_cache = true)
                {
-                       $this->_data                = 
$GLOBALS['phpgw']->accounts->read_repository()->toArray();
+                       $this->_data                = 
$GLOBALS['phpgw']->accounts->read()->toArray();
                        $this->_data['acl']         = 
$GLOBALS['phpgw']->acl->read();
-                       $this->_data['preferences'] = 
$GLOBALS['phpgw']->preferences->read_repository();
-                       $this->_data['apps']        = 
$GLOBALS['phpgw']->applications->read_repository();
+                       $this->_data['preferences'] = 
$GLOBALS['phpgw']->preferences->read();
+                       $this->_data['apps']        = 
$GLOBALS['phpgw']->applications->read();
 
                        $this->_data['domain']      = $this->_account_domain;
                        $this->_data['sessionid']   = $this->_sessionid;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]