mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +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)
|
function get_calender_info($res_id)
|
||||||
{
|
{
|
||||||
if($id < 1) return;
|
return $res_id < 1 ? false : $this->so->search(array('id' => $res_id),'name,useable');
|
||||||
$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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user