mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
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']);
|
||||
}
|
||||
|
||||
function makeobj()
|
||||
{
|
||||
if (!is_object($this->cal))
|
||||
{
|
||||
$this->cal = CreateObject('calendar.socalendar_');
|
||||
$this->cal->open('INBOX',intval($this->owner));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
function read_entry($id)
|
||||
{
|
||||
$this->makeobj();
|
||||
return $this->cal->fetch_event($id);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user