diff --git a/calendar/inc/class.socalendar.inc.php b/calendar/inc/class.socalendar.inc.php index 6d1ac18fc0..5afdcb5459 100755 --- a/calendar/inc/class.socalendar.inc.php +++ b/calendar/inc/class.socalendar.inc.php @@ -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); }