Commit 2dff8228 authored by Sebastian Kummer's avatar Sebastian Kummer

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

Merge pull request #129 in ZP/z-push from bugfix/ZP-817-pr_sensitivity-is-not-saved-for-tasks to develop

* commit 'a333cd79':
  ZP-817 Sensitivity (private) of tasks is not saved on the server.

(cherry picked from commit 1680807d)
parent ac81347e
......@@ -400,6 +400,7 @@ class MAPIMapping {
"status" => "PT_LONG:PSETID_Task:0x8101",
"icon" => PR_ICON_INDEX,
"owner" => "PT_STRING8:PSETID_Task:0x811F",
"private" => "PT_BOOLEAN:PSETID_Common:0x8506",
);
}
......
......@@ -1584,6 +1584,10 @@ class MAPIProvider {
$recurrence->setRecurrence($recur);
}
if (isset($task->sensitivity) && $task->sensitivity == SENSITIVITY_PRIVATE) {
$props[$taskprops["private"]] = true;
}
//open addresss book for user resolve to set the owner
$addrbook = $this->getAddressbook();
......@@ -2684,4 +2688,4 @@ class MAPIProvider {
}
}
?>
\ No newline at end of file
?>
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