Commit 0f51a4f3 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-886 Fix typo. Re-added description.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 964cd004
......@@ -179,7 +179,7 @@ class PHPWrapper {
ZLog::Write(LOGLEVEL_DEBUG, sprintf("PHPWrapper->ImportMessageDeletion(): Received %d remove requests from ICS", $amount));
}
foreach($sourcekeys as $sourcekey) {
// TODO if we would know that ICS is removing the message because it's outside the sync interval, we couls send a $asSoftDelete = true to the importer. Could they pass that via $flags?
// TODO if we would know that ICS is removing the message because it's outside the sync interval, we could send a $asSoftDelete = true to the importer. Could they pass that via $flags?
$this->importer->ImportMessageDeletion($this->prefix.bin2hex($sourcekey));
ZLog::Write(LOGLEVEL_DEBUG, sprintf("PHPWrapper->ImportMessageDeletion(): delete for :'%s'", $this->prefix.bin2hex($sourcekey)));
}
......
......@@ -151,7 +151,7 @@ class ChangesMemoryWrapper extends HierarchyCache implements IImportChanges, IEx
/**
* Imports a message deletion, which is imported into memory
*
* @param string $id
* @param string $id id of message which is deleted
* @param boolean $asSoftDelete (opt) if true, the deletion is exported as "SoftDelete", else as "Remove" - default: false
*
* @access public
......
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