@@ -19,12 +19,12 @@ discard block |
||
| 19 | 19 | * carried in the IPM.TaskRequest item (although this information seems |
| 20 | 20 | * redundant due to that information already being available in PR_MESSAGE_CLASS). |
| 21 | 21 | */ |
| 22 | - define('tdmtNothing', 0); // Value in IPM.Task items |
|
| 23 | - define('tdmtTaskReq', 1); // Assigner -> Assignee |
|
| 24 | - define('tdmtTaskAcc', 2); // Assignee -> Assigner |
|
| 25 | - define('tdmtTaskDec', 3); // Assignee -> Assigner |
|
| 26 | - define('tdmtTaskUpd', 4); // Assignee -> Assigner |
|
| 27 | - define('tdmtTaskSELF', 5); // Assigner -> Assigner (?) |
|
| 22 | + define('tdmtNothing', 0); // Value in IPM.Task items |
|
| 23 | + define('tdmtTaskReq', 1); // Assigner -> Assignee |
|
| 24 | + define('tdmtTaskAcc', 2); // Assignee -> Assigner |
|
| 25 | + define('tdmtTaskDec', 3); // Assignee -> Assigner |
|
| 26 | + define('tdmtTaskUpd', 4); // Assignee -> Assigner |
|
| 27 | + define('tdmtTaskSELF', 5); // Assigner -> Assigner (?) |
|
| 28 | 28 | |
| 29 | 29 | /* The TaskHistory is used to show the last action on the task |
| 30 | 30 | * on both the assigner and the assignee's side. |
@@ -34,22 +34,22 @@ discard block |
||
| 34 | 34 | * the format 'Accepted by <user> on 01-01-2010 11:00'. |
| 35 | 35 | */ |
| 36 | 36 | define('thNone', 0); |
| 37 | - define('thAccepted', 1); // Set by assignee |
|
| 38 | - define('thDeclined', 2); // Set by assignee |
|
| 39 | - define('thUpdated', 3); // Set by assignee |
|
| 37 | + define('thAccepted', 1); // Set by assignee |
|
| 38 | + define('thDeclined', 2); // Set by assignee |
|
| 39 | + define('thUpdated', 3); // Set by assignee |
|
| 40 | 40 | define('thDueDateChanged', 4); |
| 41 | - define('thAssigned', 5); // Set by assigner |
|
| 41 | + define('thAssigned', 5); // Set by assigner |
|
| 42 | 42 | |
| 43 | 43 | /* The TaskState value is used to differentiate the version of a task |
| 44 | 44 | * in the assigner's folder and the version in the |
| 45 | 45 | * assignee's folder. The buttons shown depend on this and |
| 46 | 46 | * the 'taskaccepted' boolean (for the assignee) |
| 47 | 47 | */ |
| 48 | - define('tdsNOM', 0); // Got a response to a deleted task, and re-created the task for the assigner |
|
| 49 | - define('tdsOWNNEW', 1); // Not assigned |
|
| 50 | - define('tdsOWN', 2); // Assignee version |
|
| 51 | - define('tdsACC', 3); // Assigner version |
|
| 52 | - define('tdsDEC', 4); // Assigner version, but assignee declined |
|
| 48 | + define('tdsNOM', 0); // Got a response to a deleted task, and re-created the task for the assigner |
|
| 49 | + define('tdsOWNNEW', 1); // Not assigned |
|
| 50 | + define('tdsOWN', 2); // Assignee version |
|
| 51 | + define('tdsACC', 3); // Assigner version |
|
| 52 | + define('tdsDEC', 4); // Assigner version, but assignee declined |
|
| 53 | 53 | |
| 54 | 54 | /* The TaskAcceptanceState is used for the assigner to indicate state */ |
| 55 | 55 | define('olTaskNotDelegated', 0); |
@@ -59,13 +59,13 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | /* The task ownership indicates the role of the current user relative to the task. */ |
| 61 | 61 | define('olNewTask', 0); |
| 62 | - define('olDelegatedTask', 1); // Task has been assigned |
|
| 63 | - define('olOwnTask', 2); // Task owned |
|
| 62 | + define('olDelegatedTask', 1); // Task has been assigned |
|
| 63 | + define('olOwnTask', 2); // Task owned |
|
| 64 | 64 | |
| 65 | 65 | /* taskmultrecips indicates whether the task request sent or received has multiple assignees or not. */ |
| 66 | 66 | define('tmrNone', 0); |
| 67 | - define('tmrSent', 1); // Task has been sent to multiple assignee |
|
| 68 | - define('tmrReceived', 2); // Task Request received has multiple assignee |
|
| 67 | + define('tmrSent', 1); // Task has been sent to multiple assignee |
|
| 68 | + define('tmrReceived', 2); // Task Request received has multiple assignee |
|
| 69 | 69 | |
| 70 | 70 | // Task icon index. |
| 71 | 71 | define('ICON_TASK_ASSIGNEE', 0x00000502); |
@@ -500,12 +500,12 @@ discard block |
||
| 500 | 500 | // Set properties on Task Request |
| 501 | 501 | mapi_setprops($this->message, [ |
| 502 | 502 | $this->props['task_goid'] => $taskid, /* our new task_goid */ |
| 503 | - $this->props['taskstate'] => tdsACC, /* state for our outgoing request */ |
|
| 504 | - $this->props['taskmode'] => tdmtNothing, /* we're not sending a change */ |
|
| 505 | - $this->props['updatecount'] => 2, /* version 2 (no idea) */ |
|
| 503 | + $this->props['taskstate'] => tdsACC, /* state for our outgoing request */ |
|
| 504 | + $this->props['taskmode'] => tdmtNothing, /* we're not sending a change */ |
|
| 505 | + $this->props['updatecount'] => 2, /* version 2 (no idea) */ |
|
| 506 | 506 | $this->props['task_acceptance_state'] => olTaskDelegationUnknown, /* no reply yet */ |
| 507 | 507 | $this->props['ownership'] => olDelegatedTask, /* Task has been assigned */ |
| 508 | - $this->props['taskhistory'] => thAssigned, /* Task has been assigned */ |
|
| 508 | + $this->props['taskhistory'] => thAssigned, /* Task has been assigned */ |
|
| 509 | 509 | PR_CONVERSATION_TOPIC => $messageprops[PR_SUBJECT], |
| 510 | 510 | PR_ICON_INDEX => ICON_TASK_ASSIGNER, |
| 511 | 511 | ]); |
@@ -522,10 +522,10 @@ discard block |
||
| 522 | 522 | |
| 523 | 523 | // Make it a task request, and put it in sent items after it is sent |
| 524 | 524 | mapi_setprops($outgoing, [ |
| 525 | - PR_MESSAGE_CLASS => "IPM.TaskRequest", /* class is task request */ |
|
| 526 | - $this->props['taskstate'] => tdsOWN, /* for the recipient he is the task owner */ |
|
| 527 | - $this->props['taskmode'] => tdmtTaskReq, /* for the recipient it's a request */ |
|
| 528 | - $this->props['updatecount'] => 1, /* version 2 is in the attachment */ |
|
| 525 | + PR_MESSAGE_CLASS => "IPM.TaskRequest", /* class is task request */ |
|
| 526 | + $this->props['taskstate'] => tdsOWN, /* for the recipient he is the task owner */ |
|
| 527 | + $this->props['taskmode'] => tdmtTaskReq, /* for the recipient it's a request */ |
|
| 528 | + $this->props['updatecount'] => 1, /* version 2 is in the attachment */ |
|
| 529 | 529 | PR_SUBJECT_PREFIX => $prefix, |
| 530 | 530 | PR_SUBJECT => $prefix . $messageprops[PR_SUBJECT], |
| 531 | 531 | ]); |
@@ -1181,7 +1181,7 @@ discard block |
||
| 1181 | 1181 | } |
| 1182 | 1182 | |
| 1183 | 1183 | foreach ($recips as $recip) { |
| 1184 | - $recip[PR_RECIPIENT_TYPE] = MAPI_TO; // Change recipient type to MAPI_TO |
|
| 1184 | + $recip[PR_RECIPIENT_TYPE] = MAPI_TO; // Change recipient type to MAPI_TO |
|
| 1185 | 1185 | mapi_message_modifyrecipients($outgoing, MODRECIP_ADD, [$recip]); |
| 1186 | 1186 | } |
| 1187 | 1187 | |
@@ -1126,7 +1126,7 @@ discard block |
||
| 1126 | 1126 | else { |
| 1127 | 1127 | $recip[PR_RECIPIENT_FLAGS] = recipReserved | recipExceptionalDeleted | recipSendable; |
| 1128 | 1128 | } |
| 1129 | - $recip[PR_RECIPIENT_TRACKSTATUS] = olResponseNone; // No Response required |
|
| 1129 | + $recip[PR_RECIPIENT_TRACKSTATUS] = olResponseNone; // No Response required |
|
| 1130 | 1130 | } |
| 1131 | 1131 | unset($recip); |
| 1132 | 1132 | mapi_message_modifyrecipients($exception, MODRECIP_MODIFY, $exception_recips['remove']); |
@@ -1201,7 +1201,7 @@ discard block |
||
| 1201 | 1201 | else { |
| 1202 | 1202 | $recipient[PR_RECIPIENT_FLAGS] = recipReserved | recipExceptionalDeleted | recipSendable; |
| 1203 | 1203 | } |
| 1204 | - $recipient[PR_RECIPIENT_TRACKSTATUS] = olRecipientTrackStatusNone; // No Response required |
|
| 1204 | + $recipient[PR_RECIPIENT_TRACKSTATUS] = olRecipientTrackStatusNone; // No Response required |
|
| 1205 | 1205 | $deletedRecipients[] = $recipient; |
| 1206 | 1206 | } |
| 1207 | 1207 | } |
@@ -247,14 +247,14 @@ discard block |
||
| 247 | 247 | $properties["reminderset"] = "PT_BOOLEAN:PSETID_Common:" . PidLidReminderSet; |
| 248 | 248 | $properties["flag_request"] = "PT_STRING8:PSETID_Common:" . PidLidFlagRequest; |
| 249 | 249 | $properties["flag_due_by"] = "PT_SYSTIME:PSETID_Common:" . PidLidReminderSignalTime; |
| 250 | - $properties["updatecounter"] = "PT_LONG:PSETID_Appointment:" . PidLidAppointmentSequence; // AppointmentSequenceNumber |
|
| 251 | - $properties["last_updatecounter"] = "PT_LONG:PSETID_Appointment:0x8203"; // AppointmentLastSequence |
|
| 250 | + $properties["updatecounter"] = "PT_LONG:PSETID_Appointment:" . PidLidAppointmentSequence; // AppointmentSequenceNumber |
|
| 251 | + $properties["last_updatecounter"] = "PT_LONG:PSETID_Appointment:0x8203"; // AppointmentLastSequence |
|
| 252 | 252 | $properties["busystatus"] = "PT_LONG:PSETID_Appointment:" . PidLidBusyStatus; |
| 253 | 253 | $properties["intendedbusystatus"] = "PT_LONG:PSETID_Appointment:" . PidLidIntendedBusyStatus; |
| 254 | 254 | $properties["start"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidAppointmentStartWhole; |
| 255 | 255 | $properties["responselocation"] = "PT_STRING8:PSETID_Meeting:0x2"; |
| 256 | 256 | $properties["location"] = "PT_STRING8:PSETID_Appointment:" . PidLidLocation; |
| 257 | - $properties["requestsent"] = "PT_BOOLEAN:PSETID_Appointment:0x8229"; // PidLidFInvited, MeetingRequestWasSent |
|
| 257 | + $properties["requestsent"] = "PT_BOOLEAN:PSETID_Appointment:0x8229"; // PidLidFInvited, MeetingRequestWasSent |
|
| 258 | 258 | $properties["startdate"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidAppointmentStartWhole; |
| 259 | 259 | $properties["duedate"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidAppointmentEndWhole; |
| 260 | 260 | $properties["commonstart"] = "PT_SYSTIME:PSETID_Common:0x8516"; |
@@ -262,11 +262,11 @@ discard block |
||
| 262 | 262 | $properties["recurring"] = "PT_BOOLEAN:PSETID_Appointment:" . PidLidRecurring; |
| 263 | 263 | $properties["clipstart"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidClipStart; |
| 264 | 264 | $properties["clipend"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidClipEnd; |
| 265 | - $properties["start_recur_date"] = "PT_LONG:PSETID_Meeting:0xD"; // StartRecurTime |
|
| 266 | - $properties["start_recur_time"] = "PT_LONG:PSETID_Meeting:0xE"; // StartRecurTime |
|
| 267 | - $properties["end_recur_date"] = "PT_LONG:PSETID_Meeting:0xF"; // EndRecurDate |
|
| 268 | - $properties["end_recur_time"] = "PT_LONG:PSETID_Meeting:0x10"; // EndRecurTime |
|
| 269 | - $properties["is_exception"] = "PT_BOOLEAN:PSETID_Meeting:0xA"; // LID_IS_EXCEPTION |
|
| 265 | + $properties["start_recur_date"] = "PT_LONG:PSETID_Meeting:0xD"; // StartRecurTime |
|
| 266 | + $properties["start_recur_time"] = "PT_LONG:PSETID_Meeting:0xE"; // StartRecurTime |
|
| 267 | + $properties["end_recur_date"] = "PT_LONG:PSETID_Meeting:0xF"; // EndRecurDate |
|
| 268 | + $properties["end_recur_time"] = "PT_LONG:PSETID_Meeting:0x10"; // EndRecurTime |
|
| 269 | + $properties["is_exception"] = "PT_BOOLEAN:PSETID_Meeting:0xA"; // LID_IS_EXCEPTION |
|
| 270 | 270 | // Propose new time properties |
| 271 | 271 | $properties["proposed_start_whole"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidAppointmentProposedStartWhole; |
| 272 | 272 | $properties["proposed_end_whole"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidAppointmentProposedEndWhole; |
@@ -639,7 +639,7 @@ discard block |
||
| 639 | 639 | $properties = []; |
| 640 | 640 | $properties["entryid"] = PR_ENTRYID; |
| 641 | 641 | $properties["parent_entryid"] = PR_PARENT_ENTRYID; |
| 642 | - $properties["store_entryid"] = PR_STORE_ENTRYID; // is this required ??? |
|
| 642 | + $properties["store_entryid"] = PR_STORE_ENTRYID; // is this required ??? |
|
| 643 | 643 | $properties["icon_index"] = PR_ICON_INDEX; |
| 644 | 644 | $properties["message_class"] = PR_MESSAGE_CLASS; |
| 645 | 645 | $properties["message_flags"] = PR_MESSAGE_FLAGS; |
@@ -955,9 +955,9 @@ discard block |
||
| 955 | 955 | $properties["appointment_location"] = "PT_STRING8:PSETID_Appointment:" . PidLidLocation; |
| 956 | 956 | $properties["appointment_recurring_pattern"] = "PT_STRING8:PSETID_Appointment:0x8232"; |
| 957 | 957 | $properties["appointment_recurring"] = "PT_BOOLEAN:PSETID_Appointment:" . PidLidRecurring; |
| 958 | - $properties["appointment_startdate_recurring"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidClipStart; // ClipStart |
|
| 959 | - $properties["appointment_enddate_recurring"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidClipEnd; // ClipEnd |
|
| 960 | - $properties["appointment_exception"] = "PT_BOOLEAN:PSETID_Meeting:0xA"; // LID_IS_EXCEPTION |
|
| 958 | + $properties["appointment_startdate_recurring"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidClipStart; // ClipStart |
|
| 959 | + $properties["appointment_enddate_recurring"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidClipEnd; // ClipEnd |
|
| 960 | + $properties["appointment_exception"] = "PT_BOOLEAN:PSETID_Meeting:0xA"; // LID_IS_EXCEPTION |
|
| 961 | 961 | $properties["appointment_location"] = "PT_STRING8:PSETID_Appointment:" . PidLidLocation; |
| 962 | 962 | // Propose new time properties |
| 963 | 963 | $properties["proposed_start_date"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidAppointmentProposedStartWhole; |
@@ -1243,18 +1243,18 @@ discard block |
||
| 1243 | 1243 | $properties["subject"] = PR_SUBJECT; |
| 1244 | 1244 | $properties["object_type"] = PR_OBJECT_TYPE; |
| 1245 | 1245 | |
| 1246 | - $properties["reminder"] = "PT_BOOLEAN:PSETID_Common:" . PidLidReminderSet; // PidLidReminderSet |
|
| 1247 | - $properties["reminder_minutes"] = "PT_LONG:PSETID_Common:" . PidLidReminderDelta; // PidLidReminderDelta |
|
| 1248 | - $properties["reminder_time"] = "PT_SYSTIME:PSETID_Common:" . PidLidReminderTime; // PidLidReminderTime |
|
| 1249 | - $properties["flagdueby"] = "PT_SYSTIME:PSETID_Common:" . PidLidReminderSignalTime; // PidLidReminderSignalTime |
|
| 1246 | + $properties["reminder"] = "PT_BOOLEAN:PSETID_Common:" . PidLidReminderSet; // PidLidReminderSet |
|
| 1247 | + $properties["reminder_minutes"] = "PT_LONG:PSETID_Common:" . PidLidReminderDelta; // PidLidReminderDelta |
|
| 1248 | + $properties["reminder_time"] = "PT_SYSTIME:PSETID_Common:" . PidLidReminderTime; // PidLidReminderTime |
|
| 1249 | + $properties["flagdueby"] = "PT_SYSTIME:PSETID_Common:" . PidLidReminderSignalTime; // PidLidReminderSignalTime |
|
| 1250 | 1250 | |
| 1251 | - $properties["task_duedate"] = "PT_SYSTIME:PSETID_Task:" . PidLidTaskDueDate; // PidLidTaskDueDate |
|
| 1252 | - $properties["task_startdate"] = "PT_SYSTIME:PSETID_Task:" . PidLidTaskStartDate; // PidLidTaskStartDate |
|
| 1253 | - $properties["task_resetreminder"] = "PT_BOOLEAN:PSETID_Task:0x8107"; // PidLidTaskResetReminder |
|
| 1254 | - $properties["task_recurring"] = "PT_BOOLEAN:PSETID_Task:0x8126"; // PidLidTaskFRecurring |
|
| 1251 | + $properties["task_duedate"] = "PT_SYSTIME:PSETID_Task:" . PidLidTaskDueDate; // PidLidTaskDueDate |
|
| 1252 | + $properties["task_startdate"] = "PT_SYSTIME:PSETID_Task:" . PidLidTaskStartDate; // PidLidTaskStartDate |
|
| 1253 | + $properties["task_resetreminder"] = "PT_BOOLEAN:PSETID_Task:0x8107"; // PidLidTaskResetReminder |
|
| 1254 | + $properties["task_recurring"] = "PT_BOOLEAN:PSETID_Task:0x8126"; // PidLidTaskFRecurring |
|
| 1255 | 1255 | $properties["taskmode"] = "PT_LONG:PSETID_Common:0x8518"; |
| 1256 | 1256 | |
| 1257 | - $properties["appointment_recurring"] = "PT_BOOLEAN:PSETID_Appointment:" . PidLidRecurring; // PidLidRecurring |
|
| 1257 | + $properties["appointment_recurring"] = "PT_BOOLEAN:PSETID_Appointment:" . PidLidRecurring; // PidLidRecurring |
|
| 1258 | 1258 | $properties["appointment_startdate"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidAppointmentStartWhole; |
| 1259 | 1259 | $properties["appointment_enddate"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidAppointmentEndWhole; |
| 1260 | 1260 | $properties["appointment_startdate_recurring"] = "PT_SYSTIME:PSETID_Appointment:" . PidLidClipStart; |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | [ |
| 233 | 233 | RES_OR, |
| 234 | 234 | [ |
| 235 | - [RES_AND, // Normal items: itemEnd must be after viewStart, itemStart must be before viewEnd |
|
| 235 | + [RES_AND, // Normal items: itemEnd must be after viewStart, itemStart must be before viewEnd |
|
| 236 | 236 | [ |
| 237 | 237 | [ |
| 238 | 238 | RES_PROPERTY, |
@@ -261,8 +261,8 @@ discard block |
||
| 261 | 261 | VALUE => true, |
| 262 | 262 | ], |
| 263 | 263 | ], |
| 264 | - ], // EXISTS OR |
|
| 265 | - ]; // global OR |
|
| 264 | + ], // EXISTS OR |
|
| 265 | + ]; // global OR |
|
| 266 | 266 | |
| 267 | 267 | // Get requested properties, plus whatever we need |
| 268 | 268 | $proplist = [PR_ENTRYID, $properties["recurring"], $properties["recurring_data"], $properties["timezone_data"]]; |
@@ -152,15 +152,15 @@ discard block |
||
| 152 | 152 | $properties['reminderminutes'] = 'PT_LONG:PSETID_Common:' . PidLidReminderDelta; |
| 153 | 153 | $properties['reminderset'] = 'PT_BOOLEAN:PSETID_Common:' . PidLidReminderSet; |
| 154 | 154 | $properties['sendasical'] = 'PT_BOOLEAN:PSETID_Appointment:0x8200'; |
| 155 | - $properties['updatecounter'] = 'PT_LONG:PSETID_Appointment:' . PidLidAppointmentSequence; // AppointmentSequenceNumber |
|
| 155 | + $properties['updatecounter'] = 'PT_LONG:PSETID_Appointment:' . PidLidAppointmentSequence; // AppointmentSequenceNumber |
|
| 156 | 156 | $properties['unknown7'] = 'PT_LONG:PSETID_Appointment:0x8202'; |
| 157 | - $properties['last_updatecounter'] = 'PT_LONG:PSETID_Appointment:0x8203'; // AppointmentLastSequence |
|
| 157 | + $properties['last_updatecounter'] = 'PT_LONG:PSETID_Appointment:0x8203'; // AppointmentLastSequence |
|
| 158 | 158 | $properties['busystatus'] = 'PT_LONG:PSETID_Appointment:' . PidLidBusyStatus; |
| 159 | 159 | $properties['intendedbusystatus'] = 'PT_LONG:PSETID_Appointment:' . PidLidIntendedBusyStatus; |
| 160 | 160 | $properties['start'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentStartWhole; |
| 161 | 161 | $properties['responselocation'] = 'PT_STRING8:PSETID_Meeting:0x2'; |
| 162 | 162 | $properties['location'] = 'PT_STRING8:PSETID_Appointment:' . PidLidLocation; |
| 163 | - $properties['requestsent'] = 'PT_BOOLEAN:PSETID_Appointment:0x8229'; // PidLidFInvited, MeetingRequestWasSent |
|
| 163 | + $properties['requestsent'] = 'PT_BOOLEAN:PSETID_Appointment:0x8229'; // PidLidFInvited, MeetingRequestWasSent |
|
| 164 | 164 | $properties['startdate'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentStartWhole; |
| 165 | 165 | $properties['duedate'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentEndWhole; |
| 166 | 166 | $properties['flagdueby'] = 'PT_SYSTIME:PSETID_Common:' . PidLidReminderSignalTime; |
@@ -169,11 +169,11 @@ discard block |
||
| 169 | 169 | $properties['recurring'] = 'PT_BOOLEAN:PSETID_Appointment:' . PidLidRecurring; |
| 170 | 170 | $properties['clipstart'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidClipStart; |
| 171 | 171 | $properties['clipend'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidClipEnd; |
| 172 | - $properties['start_recur_date'] = 'PT_LONG:PSETID_Meeting:0xD'; // StartRecurTime |
|
| 173 | - $properties['start_recur_time'] = 'PT_LONG:PSETID_Meeting:0xE'; // StartRecurTime |
|
| 174 | - $properties['end_recur_date'] = 'PT_LONG:PSETID_Meeting:0xF'; // EndRecurDate |
|
| 175 | - $properties['end_recur_time'] = 'PT_LONG:PSETID_Meeting:0x10'; // EndRecurTime |
|
| 176 | - $properties['is_exception'] = 'PT_BOOLEAN:PSETID_Meeting:0xA'; // LID_IS_EXCEPTION |
|
| 172 | + $properties['start_recur_date'] = 'PT_LONG:PSETID_Meeting:0xD'; // StartRecurTime |
|
| 173 | + $properties['start_recur_time'] = 'PT_LONG:PSETID_Meeting:0xE'; // StartRecurTime |
|
| 174 | + $properties['end_recur_date'] = 'PT_LONG:PSETID_Meeting:0xF'; // EndRecurDate |
|
| 175 | + $properties['end_recur_time'] = 'PT_LONG:PSETID_Meeting:0x10'; // EndRecurTime |
|
| 176 | + $properties['is_exception'] = 'PT_BOOLEAN:PSETID_Meeting:0xA'; // LID_IS_EXCEPTION |
|
| 177 | 177 | $properties['apptreplyname'] = 'PT_STRING8:PSETID_Appointment:0x8230'; |
| 178 | 178 | // Propose new time properties |
| 179 | 179 | $properties['proposed_start_whole'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentProposedStartWhole; |
@@ -548,7 +548,7 @@ discard block |
||
| 548 | 548 | $listProperties['rcvd_representing_search_key'] = PR_RCVD_REPRESENTING_SEARCH_KEY; |
| 549 | 549 | $messageProps = mapi_getprops($this->message, $listProperties); |
| 550 | 550 | |
| 551 | - $goid = $messageProps[$this->proptags['goid']]; // GlobalID (0x3) |
|
| 551 | + $goid = $messageProps[$this->proptags['goid']]; // GlobalID (0x3) |
|
| 552 | 552 | if (!isset($goid)) { |
| 553 | 553 | return; |
| 554 | 554 | } |
@@ -1483,7 +1483,7 @@ discard block |
||
| 1483 | 1483 | $props[$this->proptags['goid2']] = $goid; |
| 1484 | 1484 | |
| 1485 | 1485 | if (!isset($props[$this->proptags['updatecounter']])) { |
| 1486 | - $props[$this->proptags['updatecounter']] = 0; // OL also starts sequence no with zero. |
|
| 1486 | + $props[$this->proptags['updatecounter']] = 0; // OL also starts sequence no with zero. |
|
| 1487 | 1487 | $props[$this->proptags['last_updatecounter']] = 0; |
| 1488 | 1488 | } |
| 1489 | 1489 | |
@@ -2487,7 +2487,7 @@ discard block |
||
| 2487 | 2487 | $getResourcesRestriction = [ |
| 2488 | 2488 | RES_PROPERTY, |
| 2489 | 2489 | [ |
| 2490 | - RELOP => RELOP_EQ, // Equals recipient type 3: Resource |
|
| 2490 | + RELOP => RELOP_EQ, // Equals recipient type 3: Resource |
|
| 2491 | 2491 | ULPROPTAG => PR_RECIPIENT_TYPE, |
| 2492 | 2492 | VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC], |
| 2493 | 2493 | ], |
@@ -2763,7 +2763,7 @@ discard block |
||
| 2763 | 2763 | $getResourcesRestriction = [ |
| 2764 | 2764 | RES_PROPERTY, |
| 2765 | 2765 | [ |
| 2766 | - RELOP => RELOP_EQ, // Equals recipient type 3: Resource |
|
| 2766 | + RELOP => RELOP_EQ, // Equals recipient type 3: Resource |
|
| 2767 | 2767 | ULPROPTAG => PR_RECIPIENT_TYPE, |
| 2768 | 2768 | VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC], |
| 2769 | 2769 | ], |
@@ -2981,7 +2981,7 @@ discard block |
||
| 2981 | 2981 | $restriction[1][] = [ |
| 2982 | 2982 | RES_PROPERTY, |
| 2983 | 2983 | [ |
| 2984 | - RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource) |
|
| 2984 | + RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource) |
|
| 2985 | 2985 | ULPROPTAG => PR_RECIPIENT_TYPE, |
| 2986 | 2986 | VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC], |
| 2987 | 2987 | ], |
@@ -3084,7 +3084,7 @@ discard block |
||
| 3084 | 3084 | $stripResourcesRestriction[1][] = [ |
| 3085 | 3085 | RES_PROPERTY, |
| 3086 | 3086 | [ |
| 3087 | - RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource) |
|
| 3087 | + RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource) |
|
| 3088 | 3088 | ULPROPTAG => PR_RECIPIENT_TYPE, |
| 3089 | 3089 | VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC], |
| 3090 | 3090 | ], |
@@ -3190,7 +3190,7 @@ discard block |
||
| 3190 | 3190 | $newmessageprops[PR_MESSAGE_CLASS] = 'IPM.Schedule.Meeting.Canceled'; |
| 3191 | 3191 | $newmessageprops[$this->proptags['meetingstatus']] = olMeetingCanceled; // It's a cancel request |
| 3192 | 3192 | $newmessageprops[$this->proptags['busystatus']] = fbFree; // set the busy status as free |
| 3193 | - $newmessageprops[PR_IMPORTANCE] = IMPORTANCE_HIGH; // HIGH Importance |
|
| 3193 | + $newmessageprops[PR_IMPORTANCE] = IMPORTANCE_HIGH; // HIGH Importance |
|
| 3194 | 3194 | if (isset($newmessageprops[PR_SUBJECT])) { |
| 3195 | 3195 | $newmessageprops[PR_SUBJECT] = dgettext('zarafa', 'Canceled') . ': ' . $newmessageprops[PR_SUBJECT]; |
| 3196 | 3196 | } |