@@ -165,15 +165,15 @@ discard block |
||
165 | 165 | $properties['reminderminutes'] = 'PT_LONG:PSETID_Common:' . PidLidReminderDelta; |
166 | 166 | $properties['reminderset'] = 'PT_BOOLEAN:PSETID_Common:' . PidLidReminderSet; |
167 | 167 | $properties['sendasical'] = 'PT_BOOLEAN:PSETID_Appointment:0x8200'; |
168 | - $properties['updatecounter'] = 'PT_LONG:PSETID_Appointment:' . PidLidAppointmentSequence; // AppointmentSequenceNumber |
|
168 | + $properties['updatecounter'] = 'PT_LONG:PSETID_Appointment:' . PidLidAppointmentSequence; // AppointmentSequenceNumber |
|
169 | 169 | $properties['unknown7'] = 'PT_LONG:PSETID_Appointment:0x8202'; |
170 | - $properties['last_updatecounter'] = 'PT_LONG:PSETID_Appointment:0x8203'; // AppointmentLastSequence |
|
170 | + $properties['last_updatecounter'] = 'PT_LONG:PSETID_Appointment:0x8203'; // AppointmentLastSequence |
|
171 | 171 | $properties['busystatus'] = 'PT_LONG:PSETID_Appointment:' . PidLidBusyStatus; |
172 | 172 | $properties['intendedbusystatus'] = 'PT_LONG:PSETID_Appointment:' . PidLidIntendedBusyStatus; |
173 | 173 | $properties['start'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentStartWhole; |
174 | 174 | $properties['responselocation'] = 'PT_STRING8:PSETID_Meeting:0x2'; |
175 | 175 | $properties['location'] = 'PT_STRING8:PSETID_Appointment:' . PidLidLocation; |
176 | - $properties['requestsent'] = 'PT_BOOLEAN:PSETID_Appointment:0x8229'; // PidLidFInvited, MeetingRequestWasSent |
|
176 | + $properties['requestsent'] = 'PT_BOOLEAN:PSETID_Appointment:0x8229'; // PidLidFInvited, MeetingRequestWasSent |
|
177 | 177 | $properties['startdate'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentStartWhole; |
178 | 178 | $properties['duedate'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentEndWhole; |
179 | 179 | $properties['flagdueby'] = 'PT_SYSTIME:PSETID_Common:' . PidLidReminderSignalTime; |
@@ -182,11 +182,11 @@ discard block |
||
182 | 182 | $properties['recurring'] = 'PT_BOOLEAN:PSETID_Appointment:' . PidLidRecurring; |
183 | 183 | $properties['clipstart'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidClipStart; |
184 | 184 | $properties['clipend'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidClipEnd; |
185 | - $properties['start_recur_date'] = 'PT_LONG:PSETID_Meeting:0xD'; // StartRecurTime |
|
186 | - $properties['start_recur_time'] = 'PT_LONG:PSETID_Meeting:0xE'; // StartRecurTime |
|
187 | - $properties['end_recur_date'] = 'PT_LONG:PSETID_Meeting:0xF'; // EndRecurDate |
|
188 | - $properties['end_recur_time'] = 'PT_LONG:PSETID_Meeting:0x10'; // EndRecurTime |
|
189 | - $properties['is_exception'] = 'PT_BOOLEAN:PSETID_Meeting:0xA'; // LID_IS_EXCEPTION |
|
185 | + $properties['start_recur_date'] = 'PT_LONG:PSETID_Meeting:0xD'; // StartRecurTime |
|
186 | + $properties['start_recur_time'] = 'PT_LONG:PSETID_Meeting:0xE'; // StartRecurTime |
|
187 | + $properties['end_recur_date'] = 'PT_LONG:PSETID_Meeting:0xF'; // EndRecurDate |
|
188 | + $properties['end_recur_time'] = 'PT_LONG:PSETID_Meeting:0x10'; // EndRecurTime |
|
189 | + $properties['is_exception'] = 'PT_BOOLEAN:PSETID_Meeting:0xA'; // LID_IS_EXCEPTION |
|
190 | 190 | $properties['apptreplyname'] = 'PT_STRING8:PSETID_Appointment:0x8230'; |
191 | 191 | // Propose new time properties |
192 | 192 | $properties['proposed_start_whole'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentProposedStartWhole; |
@@ -563,7 +563,7 @@ discard block |
||
563 | 563 | $listProperties['rcvd_representing_search_key'] = PR_RCVD_REPRESENTING_SEARCH_KEY; |
564 | 564 | $messageProps = mapi_getprops($this->message, $listProperties); |
565 | 565 | |
566 | - $goid = $messageProps[$this->proptags['goid']]; // GlobalID (0x3) |
|
566 | + $goid = $messageProps[$this->proptags['goid']]; // GlobalID (0x3) |
|
567 | 567 | if (!isset($goid)) { |
568 | 568 | return; |
569 | 569 | } |
@@ -883,7 +883,7 @@ discard block |
||
883 | 883 | } |
884 | 884 | } |
885 | 885 | |
886 | - if(!isset($props[$this->proptags["recurring_pattern"]])) { |
|
886 | + if (!isset($props[$this->proptags["recurring_pattern"]])) { |
|
887 | 887 | $recurr = new Recurrence($store, $calendarItem); |
888 | 888 | $recurr->saveRecurrencePattern(); |
889 | 889 | } |
@@ -1508,7 +1508,7 @@ discard block |
||
1508 | 1508 | $props[$this->proptags['goid2']] = $goid; |
1509 | 1509 | |
1510 | 1510 | if (!isset($props[$this->proptags['updatecounter']])) { |
1511 | - $props[$this->proptags['updatecounter']] = 0; // OL also starts sequence no with zero. |
|
1511 | + $props[$this->proptags['updatecounter']] = 0; // OL also starts sequence no with zero. |
|
1512 | 1512 | $props[$this->proptags['last_updatecounter']] = 0; |
1513 | 1513 | } |
1514 | 1514 | |
@@ -2523,7 +2523,7 @@ discard block |
||
2523 | 2523 | $getResourcesRestriction = [ |
2524 | 2524 | RES_PROPERTY, |
2525 | 2525 | [ |
2526 | - RELOP => RELOP_EQ, // Equals recipient type 3: Resource |
|
2526 | + RELOP => RELOP_EQ, // Equals recipient type 3: Resource |
|
2527 | 2527 | ULPROPTAG => PR_RECIPIENT_TYPE, |
2528 | 2528 | VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC], |
2529 | 2529 | ], |
@@ -2799,7 +2799,7 @@ discard block |
||
2799 | 2799 | $getResourcesRestriction = [ |
2800 | 2800 | RES_PROPERTY, |
2801 | 2801 | [ |
2802 | - RELOP => RELOP_EQ, // Equals recipient type 3: Resource |
|
2802 | + RELOP => RELOP_EQ, // Equals recipient type 3: Resource |
|
2803 | 2803 | ULPROPTAG => PR_RECIPIENT_TYPE, |
2804 | 2804 | VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC], |
2805 | 2805 | ], |
@@ -3017,7 +3017,7 @@ discard block |
||
3017 | 3017 | $restriction[1][] = [ |
3018 | 3018 | RES_PROPERTY, |
3019 | 3019 | [ |
3020 | - RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource) |
|
3020 | + RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource) |
|
3021 | 3021 | ULPROPTAG => PR_RECIPIENT_TYPE, |
3022 | 3022 | VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC], |
3023 | 3023 | ], |
@@ -3120,7 +3120,7 @@ discard block |
||
3120 | 3120 | $stripResourcesRestriction[1][] = [ |
3121 | 3121 | RES_PROPERTY, |
3122 | 3122 | [ |
3123 | - RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource) |
|
3123 | + RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource) |
|
3124 | 3124 | ULPROPTAG => PR_RECIPIENT_TYPE, |
3125 | 3125 | VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC], |
3126 | 3126 | ], |
@@ -3226,7 +3226,7 @@ discard block |
||
3226 | 3226 | $newmessageprops[PR_MESSAGE_CLASS] = 'IPM.Schedule.Meeting.Canceled'; |
3227 | 3227 | $newmessageprops[$this->proptags['meetingstatus']] = olMeetingCanceled; // It's a cancel request |
3228 | 3228 | $newmessageprops[$this->proptags['busystatus']] = fbFree; // set the busy status as free |
3229 | - $newmessageprops[PR_IMPORTANCE] = IMPORTANCE_HIGH; // HIGH Importance |
|
3229 | + $newmessageprops[PR_IMPORTANCE] = IMPORTANCE_HIGH; // HIGH Importance |
|
3230 | 3230 | if (isset($newmessageprops[PR_SUBJECT])) { |
3231 | 3231 | $newmessageprops[PR_SUBJECT] = dgettext('zarafa', 'Canceled') . ': ' . $newmessageprops[PR_SUBJECT]; |
3232 | 3232 | } |