Removed makeobj() and the call from read_entry().

This commit is contained in:
skeeter 2001-09-11 03:07:17 +00:00
parent 65b5b754d3
commit d709652b91

View File

@ -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);
} }