Passed
Push — master ( 9f86f4...cee204 )
by
unknown
08:11 queued 05:52
created
class.meetingrequest.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -166,15 +166,15 @@  discard block
 block discarded – undo
166 166
 		$properties['reminderminutes'] = 'PT_LONG:PSETID_Common:' . PidLidReminderDelta;
167 167
 		$properties['reminderset'] = 'PT_BOOLEAN:PSETID_Common:' . PidLidReminderSet;
168 168
 		$properties['sendasical'] = 'PT_BOOLEAN:PSETID_Appointment:0x8200';
169
-		$properties['updatecounter'] = 'PT_LONG:PSETID_Appointment:' . PidLidAppointmentSequence;					// AppointmentSequenceNumber
169
+		$properties['updatecounter'] = 'PT_LONG:PSETID_Appointment:' . PidLidAppointmentSequence; // AppointmentSequenceNumber
170 170
 		$properties['unknown7'] = 'PT_LONG:PSETID_Appointment:0x8202';
171
-		$properties['last_updatecounter'] = 'PT_LONG:PSETID_Appointment:0x8203';			// AppointmentLastSequence
171
+		$properties['last_updatecounter'] = 'PT_LONG:PSETID_Appointment:0x8203'; // AppointmentLastSequence
172 172
 		$properties['busystatus'] = 'PT_LONG:PSETID_Appointment:' . PidLidBusyStatus;
173 173
 		$properties['intendedbusystatus'] = 'PT_LONG:PSETID_Appointment:' . PidLidIntendedBusyStatus;
174 174
 		$properties['start'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentStartWhole;
175 175
 		$properties['responselocation'] = 'PT_STRING8:PSETID_Meeting:0x2';
176 176
 		$properties['location'] = 'PT_STRING8:PSETID_Appointment:' . PidLidLocation;
177
-		$properties['requestsent'] = 'PT_BOOLEAN:PSETID_Appointment:0x8229';		// PidLidFInvited, MeetingRequestWasSent
177
+		$properties['requestsent'] = 'PT_BOOLEAN:PSETID_Appointment:0x8229'; // PidLidFInvited, MeetingRequestWasSent
178 178
 		$properties['startdate'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentStartWhole;
179 179
 		$properties['duedate'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentEndWhole;
180 180
 		$properties['flagdueby'] = 'PT_SYSTIME:PSETID_Common:' . PidLidReminderSignalTime;
@@ -183,11 +183,11 @@  discard block
 block discarded – undo
183 183
 		$properties['recurring'] = 'PT_BOOLEAN:PSETID_Appointment:' . PidLidRecurring;
184 184
 		$properties['clipstart'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidClipStart;
185 185
 		$properties['clipend'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidClipEnd;
186
-		$properties['start_recur_date'] = 'PT_LONG:PSETID_Meeting:0xD';				// StartRecurTime
187
-		$properties['start_recur_time'] = 'PT_LONG:PSETID_Meeting:0xE';				// StartRecurTime
188
-		$properties['end_recur_date'] = 'PT_LONG:PSETID_Meeting:0xF';				// EndRecurDate
189
-		$properties['end_recur_time'] = 'PT_LONG:PSETID_Meeting:0x10';				// EndRecurTime
190
-		$properties['is_exception'] = 'PT_BOOLEAN:PSETID_Meeting:0xA';				// LID_IS_EXCEPTION
186
+		$properties['start_recur_date'] = 'PT_LONG:PSETID_Meeting:0xD'; // StartRecurTime
187
+		$properties['start_recur_time'] = 'PT_LONG:PSETID_Meeting:0xE'; // StartRecurTime
188
+		$properties['end_recur_date'] = 'PT_LONG:PSETID_Meeting:0xF'; // EndRecurDate
189
+		$properties['end_recur_time'] = 'PT_LONG:PSETID_Meeting:0x10'; // EndRecurTime
190
+		$properties['is_exception'] = 'PT_BOOLEAN:PSETID_Meeting:0xA'; // LID_IS_EXCEPTION
191 191
 		$properties['apptreplyname'] = 'PT_STRING8:PSETID_Appointment:0x8230';
192 192
 		// Propose new time properties
193 193
 		$properties['proposed_start_whole'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentProposedStartWhole;
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
 		$listProperties['rcvd_representing_search_key'] = PR_RCVD_REPRESENTING_SEARCH_KEY;
571 571
 		$messageProps = mapi_getprops($this->message, $listProperties);
572 572
 
573
-		$goid = $messageProps[$this->proptags['goid']];	// GlobalID (0x3)
573
+		$goid = $messageProps[$this->proptags['goid']]; // GlobalID (0x3)
574 574
 		if (!isset($goid)) {
575 575
 			return;
576 576
 		}
@@ -1532,7 +1532,7 @@  discard block
 block discarded – undo
1532 1532
 		$props[$this->proptags['goid2']] = $goid;
1533 1533
 
1534 1534
 		if (!isset($props[$this->proptags['updatecounter']])) {
1535
-			$props[$this->proptags['updatecounter']] = 0;			// OL also starts sequence no with zero.
1535
+			$props[$this->proptags['updatecounter']] = 0; // OL also starts sequence no with zero.
1536 1536
 			$props[$this->proptags['last_updatecounter']] = 0;
1537 1537
 		}
1538 1538
 
@@ -2552,7 +2552,7 @@  discard block
 block discarded – undo
2552 2552
 		$getResourcesRestriction = [
2553 2553
 			RES_PROPERTY,
2554 2554
 			[
2555
-				RELOP => RELOP_EQ,	// Equals recipient type 3: Resource
2555
+				RELOP => RELOP_EQ, // Equals recipient type 3: Resource
2556 2556
 				ULPROPTAG => PR_RECIPIENT_TYPE,
2557 2557
 				VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC],
2558 2558
 			],
@@ -3036,7 +3036,7 @@  discard block
 block discarded – undo
3036 3036
 				$restriction[1][] = [
3037 3037
 					RES_PROPERTY,
3038 3038
 					[
3039
-						RELOP => RELOP_NE,	// Does not equal recipient type: MAPI_BCC (Resource)
3039
+						RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource)
3040 3040
 						ULPROPTAG => PR_RECIPIENT_TYPE,
3041 3041
 						VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC],
3042 3042
 					],
@@ -3139,7 +3139,7 @@  discard block
 block discarded – undo
3139 3139
 			$stripResourcesRestriction[1][] = [
3140 3140
 				RES_PROPERTY,
3141 3141
 				[
3142
-					RELOP => RELOP_NE,	// Does not equal recipient type: MAPI_BCC (Resource)
3142
+					RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource)
3143 3143
 					ULPROPTAG => PR_RECIPIENT_TYPE,
3144 3144
 					VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC],
3145 3145
 				],
@@ -3245,7 +3245,7 @@  discard block
 block discarded – undo
3245 3245
 			$newmessageprops[PR_MESSAGE_CLASS] = 'IPM.Schedule.Meeting.Canceled';
3246 3246
 			$newmessageprops[$this->proptags['meetingstatus']] = olMeetingCanceled; // It's a cancel request
3247 3247
 			$newmessageprops[$this->proptags['busystatus']] = fbFree; // set the busy status as free
3248
-			$newmessageprops[PR_IMPORTANCE] = IMPORTANCE_HIGH;	// HIGH Importance
3248
+			$newmessageprops[PR_IMPORTANCE] = IMPORTANCE_HIGH; // HIGH Importance
3249 3249
 			if (isset($newmessageprops[PR_SUBJECT])) {
3250 3250
 				$newmessageprops[PR_SUBJECT] = dgettext('zarafa', 'Canceled') . ': ' . $newmessageprops[PR_SUBJECT];
3251 3251
 			}
Please login to merge, or discard this patch.