Commit ce01d813 authored by Sebastian Kummer's avatar Sebastian Kummer

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

Merge pull request #563 in ZP/z-push from bugfix/ZP-1254-wastebasket-not-available-when-removing to develop

* commit 'fc9d98ee':
parents a883560a fc9d98ee
......@@ -721,7 +721,7 @@ class BackendKopano implements IBackend, ISearchProvider {
$storeprops = mapi_getprops($this->defaultstore, array(PR_IPM_WASTEBASKET_ENTRYID));
if (isset($storeprops[PR_IPM_WASTEBASKET_ENTRYID])) {
$wastebasket = mapi_msgstore_openentry($this->store, $storeprops[PR_IPM_WASTEBASKET_ENTRYID]);
$wastebasket = mapi_msgstore_openentry($this->defaultstore, $storeprops[PR_IPM_WASTEBASKET_ENTRYID]);
$wastebasketprops = mapi_getprops($wastebasket, array(PR_SOURCE_KEY));
if (isset($wastebasketprops[PR_SOURCE_KEY])) {
$this->wastebasket = bin2hex($wastebasketprops[PR_SOURCE_KEY]);
......
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