no need for db schema on the client

This commit is contained in:
Ralf Becker 2011-09-09 14:56:34 +00:00
parent df36138012
commit b1b1ab820a

View File

@ -455,7 +455,11 @@ class accounts
// for current user, add the apps available to him // for current user, add the apps available to him
if ($id == $GLOBALS['egw_info']['user']['account_id']) 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); return json_encode($account);
} }