mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
using class-var already stored in session
This commit is contained in:
parent
708afe238a
commit
5890110f7a
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user