A couple of small changes to hide the fact tthat bocalendar is used.

This commit is contained in:
skeeter 2001-12-28 15:53:33 +00:00
parent c257dbcf86
commit 95da5b6f10
2 changed files with 12 additions and 2 deletions

View File

@ -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 */
}

View File

@ -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)
{