Passed
Branch master (b80a21)
by Andreas
11:08
created
server/includes/mapi/mapi.util.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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"]];
Please login to merge, or discard this patch.
server/includes/mapi/class.meetingrequest.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -152,15 +152,15 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 			}
Please login to merge, or discard this patch.