mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
no need for db schema on the client
This commit is contained in:
parent
df36138012
commit
b1b1ab820a
@ -455,7 +455,11 @@ class accounts
|
||||
// for current user, add the apps available to him
|
||||
if ($id == $GLOBALS['egw_info']['user']['account_id'])
|
||||
{
|
||||
$account['apps'] = $GLOBALS['egw_info']['user']['apps'];
|
||||
foreach($GLOBALS['egw_info']['user']['apps'] as $app => $data)
|
||||
{
|
||||
unset($data['table_defs']); // no need for that on the client
|
||||
$account['apps'][$app] = $data;
|
||||
}
|
||||
}
|
||||
return json_encode($account);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user