hook to register an app for group acl

This commit is contained in:
Ralf Becker 2008-06-27 10:03:14 +00:00
parent 21c9e960df
commit ff7325276e

View File

@ -33,7 +33,6 @@
var $bo;
var $nextmatchs;
var $apps_with_acl = array(
'addressbook' => True,
'todo' => True,
'calendar' => True,
'projects' => True,
@ -67,6 +66,10 @@
{
unset($this->apps_with_acl['addressbook']);
}
foreach($GLOBALS['egw']->hooks->process('group_acl','',true) as $app => $data)
{
if ($data) $this->apps_with_acl[$app] = $data;
}
}
function row_action($action,$type,$account_id)