mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
A couple of small changes to hide the fact tthat bocalendar is used.
This commit is contained in:
parent
c257dbcf86
commit
95da5b6f10
@ -63,5 +63,15 @@
|
||||
$this->cal->save_sessiondata($data);
|
||||
}
|
||||
|
||||
function read_entry($cal_id)
|
||||
{
|
||||
return $this->cal->read_entry($cal_id);
|
||||
}
|
||||
|
||||
function can_user_edit($event)
|
||||
{
|
||||
return $this->cal->can_user_edit($event);
|
||||
}
|
||||
|
||||
/* Public functions */
|
||||
}
|
||||
|
@ -52,9 +52,9 @@
|
||||
|
||||
function prep_page()
|
||||
{
|
||||
$this->event = $this->bo->cal->read_entry($this->bo->cal_id);
|
||||
$this->event = $this->bo->read_entry($this->bo->cal_id);
|
||||
|
||||
$can_edit = $this->bo->cal->can_user_edit($this->event);
|
||||
$can_edit = $this->bo->can_user_edit($this->event);
|
||||
|
||||
if(!$can_edit)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user