forked from extern/egroupware
Removed makeobj() and the call from read_entry().
This commit is contained in:
parent
65b5b754d3
commit
d709652b91
@ -46,19 +46,8 @@
|
|||||||
return mktime($time['hour'],$time['min'],$time['sec'],$time['month'],$time['mday'],$time['year']);
|
return mktime($time['hour'],$time['min'],$time['sec'],$time['month'],$time['mday'],$time['year']);
|
||||||
}
|
}
|
||||||
|
|
||||||
function makeobj()
|
|
||||||
{
|
|
||||||
if (!is_object($this->cal))
|
|
||||||
{
|
|
||||||
$this->cal = CreateObject('calendar.socalendar_');
|
|
||||||
$this->cal->open('INBOX',intval($this->owner));
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
function read_entry($id)
|
function read_entry($id)
|
||||||
{
|
{
|
||||||
$this->makeobj();
|
|
||||||
return $this->cal->fetch_event($id);
|
return $this->cal->fetch_event($id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user