@@ -21,10 +21,10 @@ discard block |
||
21 | 21 | $this->properties = array_merge($this->properties, [ |
22 | 22 | 'body' => PR_BODY, |
23 | 23 | 'html_body' => PR_HTML, |
24 | - 'startdate' => "PT_SYSTIME:PSETID_Appointment:".PidLidAppointmentStartWhole, |
|
25 | - 'duedate' => "PT_SYSTIME:PSETID_Appointment:".PidLidAppointmentEndWhole, |
|
24 | + 'startdate' => "PT_SYSTIME:PSETID_Appointment:" . PidLidAppointmentStartWhole, |
|
25 | + 'duedate' => "PT_SYSTIME:PSETID_Appointment:" . PidLidAppointmentEndWhole, |
|
26 | 26 | 'creation_time' => PR_CREATION_TIME, |
27 | - "task_duedate" => "PT_SYSTIME:PSETID_Task:".PidLidTaskDueDate, |
|
27 | + "task_duedate" => "PT_SYSTIME:PSETID_Task:" . PidLidTaskDueDate, |
|
28 | 28 | ]); |
29 | 29 | $this->properties = getPropIdsFromStrings($GLOBALS["mapisession"]->getDefaultMessageStore(), $this->properties); |
30 | 30 | } |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | elseif ($type == RES_BITMASK) { |
205 | 205 | $subres = $restriction[1]; |
206 | 206 | if ($subres[ULPROPTAG] == PR_MESSAGE_FLAGS && $subres[ULTYPE] == BMR_EQZ) { |
207 | - if (MSGFLAG_READ & $subres[ULMASK]) { |
|
207 | + if (MSGFLAG_READ&$subres[ULMASK]) { |
|
208 | 208 | $patterns['unread'] = true; |
209 | 209 | } |
210 | 210 | } |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | } |
345 | 345 | } |
346 | 346 | // we never start the search folder because we will populate the search folder by ourselves |
347 | - mapi_folder_setsearchcriteria($searchFolder, $this->restriction, $entryids, $subfolder_flag | STOP_SEARCH); |
|
347 | + mapi_folder_setsearchcriteria($searchFolder, $this->restriction, $entryids, $subfolder_flag|STOP_SEARCH); |
|
348 | 348 | $this->sessionData['searchCriteriaCheck'] = $restrictionCheck; |
349 | 349 | } |
350 | 350 | |
@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | if ($this->sessionData['searchOriginalEntryids'][0] !== $folderEntryid) { |
354 | 354 | $this->sessionData['searchOriginalEntryids'][0] = $folderEntryid; |
355 | 355 | // we never start the search folder because we will populate the search folder by ourselves |
356 | - mapi_folder_setsearchcriteria($searchFolder, $this->restriction, [$entryid], $subfolder_flag | STOP_SEARCH); |
|
356 | + mapi_folder_setsearchcriteria($searchFolder, $this->restriction, [$entryid], $subfolder_flag|STOP_SEARCH); |
|
357 | 357 | } |
358 | 358 | } |
359 | 359 |
@@ -239,8 +239,8 @@ |
||
239 | 239 | public function getCalendarItems($store, $entryid, $start, $end) { |
240 | 240 | // Create mapping for restriction used properties which should not be send to the client. |
241 | 241 | $properties = [ |
242 | - "clipstart" => "PT_SYSTIME:PSETID_Appointment:".PidLidClipStart, |
|
243 | - "clipend" => "PT_SYSTIME:PSETID_Appointment:".PidLidClipEnd, |
|
242 | + "clipstart" => "PT_SYSTIME:PSETID_Appointment:" . PidLidClipStart, |
|
243 | + "clipend" => "PT_SYSTIME:PSETID_Appointment:" . PidLidClipEnd, |
|
244 | 244 | ]; |
245 | 245 | $properties = getPropIdsFromStrings($store, $properties); |
246 | 246 |