Commit 250df78e authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1271 Overwrite user only if no specific username was requested.

Released under the Affero GNU General Public License (AGPL) version 3.
parent d6dd4515
......@@ -1514,10 +1514,10 @@ class BackendKopano implements IBackend, ISearchProvider {
list($user, $domain) = Utils::SplitDomainUser($store);
if ($user === false) {
$user = $this->mainUser;
}
if ($this->impersonateUser) {
$user = $this->impersonateUser;
}
}
// if there is a ReplyBackImExporter, the exporter needs to run!
$wrapper = KopanoChangesWrapper::GetWrapper($user, false, null, $folderid, null);
......
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