mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
calendar hook: get_calendar_info($res_id)
This commit is contained in:
parent
4f79f17397
commit
78a891846a
@ -231,20 +231,7 @@ class bo_resources
|
||||
*/
|
||||
function get_calender_info($res_id)
|
||||
{
|
||||
if($id < 1) return;
|
||||
$data[0] = array('name' => '', 'useable' => '');
|
||||
foreach($res_id as $num => $id)
|
||||
{
|
||||
|
||||
}
|
||||
// $cats = array_flip($this->acl->get_cats(EGW_ACL_READ));
|
||||
$this->so->search(array('name' => '*'),false,$data,-1,$order_by='',$offset=false,$num_rows=-1);
|
||||
|
||||
if(is_array($res_id))
|
||||
{
|
||||
}
|
||||
|
||||
return;
|
||||
return $res_id < 1 ? false : $this->so->search(array('id' => $res_id),'name,useable');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user