Commit 6c326890 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #179 in ZP/z-push from...

Merge pull request #179 in ZP/z-push from feature/ZP-844-support-out-of-office-start-and-end to develop

* commit '02a91429':
  ZP-844 Delete from and until properties when out of office is not time based.
parents 48b89e2b 02a91429
...@@ -1617,6 +1617,9 @@ class BackendZarafa implements IBackend, ISearchProvider { ...@@ -1617,6 +1617,9 @@ class BackendZarafa implements IBackend, ISearchProvider {
$oof->Status = SYNC_SETTINGSSTATUS_PROTOCOLLERROR; $oof->Status = SYNC_SETTINGSSTATUS_PROTOCOLLERROR;
} }
} }
else {
$deleteProps = array(PR_EC_OUTOFOFFICE_FROM, PR_EC_OUTOFOFFICE_UNTIL);
}
} }
elseif($oof->oofstate == SYNC_SETTINGSOOF_DISABLED) { elseif($oof->oofstate == SYNC_SETTINGSOOF_DISABLED) {
$props[PR_EC_OUTOFOFFICE] = false; $props[PR_EC_OUTOFOFFICE] = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment