@@ -2067,9 +2067,9 @@ discard block |
||
| 2067 | 2067 | $messageProps = []; |
| 2068 | 2068 | // It stores the values that is exception allowed or not false -> not allowed |
| 2069 | 2069 | $isExceptionAllowed = true; |
| 2070 | - $delete = $actionType == 'delete'; // Flag for MeetingRequest Class whether to send update or cancel mail. |
|
| 2071 | - $basedate = false; // Flag for MeetingRequest Class whether to send an exception or not. |
|
| 2072 | - $isReminderTimeAllowed = true; // Flag to check reminder minutes is in range of the occurrences |
|
| 2070 | + $delete = $actionType == 'delete'; // Flag for MeetingRequest Class whether to send update or cancel mail. |
|
| 2071 | + $basedate = false; // Flag for MeetingRequest Class whether to send an exception or not. |
|
| 2072 | + $isReminderTimeAllowed = true; // Flag to check reminder minutes is in range of the occurrences |
|
| 2073 | 2073 | $properties = $GLOBALS['properties']->getAppointmentProperties(); |
| 2074 | 2074 | $send = false; |
| 2075 | 2075 | $oldProps = []; |
@@ -3060,7 +3060,7 @@ discard block |
||
| 3060 | 3060 | * convert flags of PR_MESSAGE_FLAGS property to flags that is |
| 3061 | 3061 | * used in mapi_message_setreadflag. |
| 3062 | 3062 | */ |
| 3063 | - $flag = MAPI_DEFERRED_ERRORS; // set unread flag, read receipt will be sent |
|
| 3063 | + $flag = MAPI_DEFERRED_ERRORS; // set unread flag, read receipt will be sent |
|
| 3064 | 3064 | |
| 3065 | 3065 | if (($flags & MSGFLAG_RN_PENDING) && isset($msg_action['send_read_receipt']) && $msg_action['send_read_receipt'] == false) { |
| 3066 | 3066 | $flag |= SUPPRESS_RECEIPT; |
@@ -4201,7 +4201,7 @@ discard block |
||
| 4201 | 4201 | try { |
| 4202 | 4202 | $oneoff = mapi_parseoneoff($entryid); |
| 4203 | 4203 | } |
| 4204 | - catch(MAPIException $ex) { |
|
| 4204 | + catch (MAPIException $ex) { |
|
| 4205 | 4205 | error_log(sprintf( |
| 4206 | 4206 | "readReplyRecipientEntry unable to open AB entry and mapi_parseoneoff failed: %s - %s", |
| 4207 | 4207 | get_mapi_error_name($ex->getCode()), |
@@ -178,13 +178,13 @@ discard block |
||
| 178 | 178 | $user = $this->getUser($store_props[PR_USER_ENTRYID]); |
| 179 | 179 | |
| 180 | 180 | // receive userdata |
| 181 | - $user_props = [ PR_ASSISTANT, PR_ASSISTANT_TELEPHONE_NUMBER, PR_BUSINESS2_TELEPHONE_NUMBER, PR_BUSINESS_TELEPHONE_NUMBER, |
|
| 181 | + $user_props = [PR_ASSISTANT, PR_ASSISTANT_TELEPHONE_NUMBER, PR_BUSINESS2_TELEPHONE_NUMBER, PR_BUSINESS_TELEPHONE_NUMBER, |
|
| 182 | 182 | PR_COMPANY_NAME, PR_COUNTRY, PR_DEPARTMENT_NAME, PR_DISPLAY_NAME, |
| 183 | 183 | PR_EMAIL_ADDRESS, PR_EMS_AB_THUMBNAIL_PHOTO, PR_GIVEN_NAME, PR_HOME2_TELEPHONE_NUMBER, |
| 184 | 184 | PR_STREET_ADDRESS, PR_HOME_TELEPHONE_NUMBER, PR_INITIALS, PR_LOCALITY, |
| 185 | 185 | PR_MOBILE_TELEPHONE_NUMBER, PR_OFFICE_LOCATION, PR_PAGER_TELEPHONE_NUMBER, PR_POSTAL_CODE, |
| 186 | 186 | PR_PRIMARY_FAX_NUMBER, PR_PRIMARY_TELEPHONE_NUMBER, PR_SEARCH_KEY, PR_SMTP_ADDRESS, |
| 187 | - PR_STATE_OR_PROVINCE, PR_SURNAME, PR_TITLE ]; |
|
| 187 | + PR_STATE_OR_PROVINCE, PR_SURNAME, PR_TITLE]; |
|
| 188 | 188 | |
| 189 | 189 | $user_props = mapi_getprops($user, $user_props); |
| 190 | 190 | |
@@ -1094,7 +1094,7 @@ discard block |
||
| 1094 | 1094 | // Postfix display name of every contact folder with respective owner name |
| 1095 | 1095 | // it is mandatory to keep display-name different |
| 1096 | 1096 | $userStoreProps = mapi_getprops($openedUserStore, [PR_MAILBOX_OWNER_NAME]); |
| 1097 | - for ($i = 0,$len = count($userContactFolders); $i < $len; ++$i) { |
|
| 1097 | + for ($i = 0, $len = count($userContactFolders); $i < $len; ++$i) { |
|
| 1098 | 1098 | $userContactFolders[$i][PR_DISPLAY_NAME] = $userContactFolders[$i][PR_DISPLAY_NAME] . " - " . $userStoreProps[PR_MAILBOX_OWNER_NAME]; |
| 1099 | 1099 | } |
| 1100 | 1100 | |
@@ -1118,7 +1118,7 @@ discard block |
||
| 1118 | 1118 | |
| 1119 | 1119 | // Create the lists of store entryids, folder entryids and folder names to be added |
| 1120 | 1120 | // to the profile section |
| 1121 | - for ($i = 0,$len = count($contactFolders); $i < $len; ++$i) { |
|
| 1121 | + for ($i = 0, $len = count($contactFolders); $i < $len; ++$i) { |
|
| 1122 | 1122 | $contact_store_entryids[] = $contactFolders[$i][PR_STORE_ENTRYID]; |
| 1123 | 1123 | $contact_folder_entryids[] = $contactFolders[$i][PR_ENTRYID]; |
| 1124 | 1124 | $contact_folder_names[] = $contactFolders[$i][PR_DISPLAY_NAME]; |
@@ -143,7 +143,7 @@ |
||
| 143 | 143 | else { |
| 144 | 144 | $first = true; |
| 145 | 145 | foreach ($search_patterns as $key => $search_pattern) { |
| 146 | - switch($key) { |
|
| 146 | + switch ($key) { |
|
| 147 | 147 | case 'message_classes': |
| 148 | 148 | case 'date_start': |
| 149 | 149 | case 'date_end': |