Changeset View
Changeset View
Standalone View
Standalone View
plugins/libcalendaring/libcalendaring.php
Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | public function startup($args) | ||||
'itipdelegated', 'expandattendeegroup', 'expandattendeegroupnodata', | 'itipdelegated', 'expandattendeegroup', 'expandattendeegroupnodata', | ||||
'statusorganizer', 'statusaccepted', 'statusdeclined', | 'statusorganizer', 'statusaccepted', 'statusdeclined', | ||||
'statusdelegated', 'statusunknown', 'statusneeds-action', | 'statusdelegated', 'statusunknown', 'statusneeds-action', | ||||
'statustentative', 'statuscompleted', 'statusin-process', | 'statustentative', 'statuscompleted', 'statusin-process', | ||||
'delegatedto', 'delegatedfrom', 'showmore' | 'delegatedto', 'delegatedfrom', 'showmore' | ||||
); | ); | ||||
} | } | ||||
if ($args['task'] == 'mail') { | if (($args['task'] ?? null) == 'mail') { | ||||
if ($args['action'] == 'show' || $args['action'] == 'preview') { | if ($args['action'] == 'show' || $args['action'] == 'preview') { | ||||
$this->add_hook('message_load', array($this, 'mail_message_load')); | $this->add_hook('message_load', array($this, 'mail_message_load')); | ||||
} | } | ||||
} | } | ||||
} | } | ||||
/** | /** | ||||
* Load iCalendar functions | * Load iCalendar functions | ||||
▲ Show 20 Lines • Show All 1,448 Lines • Show Last 20 Lines |