diff --git a/calendar/inc/class.uiviews.inc.php b/calendar/inc/class.uiviews.inc.php index e3ad69d165..afb58db2e8 100644 --- a/calendar/inc/class.uiviews.inc.php +++ b/calendar/inc/class.uiviews.inc.php @@ -27,7 +27,6 @@ class uiviews extends uical 'day' => True, 'week' => True, 'month' => True, - 'test' => True, ); /** * @var $debug mixed integer level or string function- or widget-name @@ -334,11 +333,6 @@ class uiviews extends uical */ function timeGridWidget($daysEvents,$width,$granularity_m=30,$px_m=1.7,$indent='',$title='') { - // Get Owner/Participants - $_session_data = $GLOBALS['phpgw']->session->appsession("session_data", "calendar"); - $participants = $_session_data["owner"]; - unset($_session_data); - if ($this->debug > 1 || $this->debug==='timeGridWidget') $this->bo->debug_message('uiviews::timeGridWidget(events=%1,width=%2,granularity_m=%3,px_m=%4,)',True,$daysEvents,$width,$granularity_m,$px_m); $this->px_m = $px_m; // for time2pos() @@ -369,7 +363,7 @@ class uiviews extends uical $add = array( 'menuaction' => 'calendar.uicalendar.add', 'date' => $this->date, - 'owner' => $participants, + 'owner' => $this->owner, ); if ($t >= $this->wd_start && $t <= $this->wd_end) {