[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [19011] Fix a read_repository stuff and a get account
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] [19011] Fix a read_repository stuff and a get account_lid system |
Date: |
Wed, 10 Dec 2008 12:04:43 +0000 |
Revision: 19011
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19011
Author: Caeies
Date: 2008-12-10 12:04:42 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
Fix a read_repository stuff and a get account_lid system
Modified Paths:
--------------
core/trunk/admin/inc/class.uiloglevels.inc.php
Modified: core/trunk/admin/inc/class.uiloglevels.inc.php
===================================================================
--- core/trunk/admin/inc/class.uiloglevels.inc.php 2008-12-10 12:04:12 UTC
(rev 19010)
+++ core/trunk/admin/inc/class.uiloglevels.inc.php 2008-12-10 12:04:42 UTC
(rev 19011)
@@ -169,7 +169,7 @@
$accounts =
$GLOBALS['phpgw']->accounts->get_list('accounts');
foreach($accounts as $account)
{
- $account_lid = $account['account_lid'];
+ $account_lid = $account->lid;
if (
isset($GLOBALS['phpgw_info']['server']['log_levels']['user'][$account_lid]) )
{
$var = array
@@ -278,7 +278,7 @@
// save it... It would be nice if phpgwapi.config had
an method for just saving one setting.
$c = CreateObject('phpgwapi.config','phpgwapi');
- $c->read_repository();
+ $c->read();
$c->value('log_levels',
$GLOBALS['phpgw_info']['server']['log_levels']);
$c->save_repository();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [19011] Fix a read_repository stuff and a get account_lid system,
Caeies <=