summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRash419 <rashesh.padia@collabora.com>2022-02-11 13:47:32 +0530
committerRashesh Padia <rasheshpadia419@gmail.com>2022-02-11 20:09:13 +0530
commit392718a125022dd4300c8464ae9836120fdea41a (patch)
tree7753476eb5f77a49de43902b0c0915bc75c12e13
parentcypress: make annotation specs compaitable with NB (diff)
downloadonline-392718a125022dd4300c8464ae9836120fdea41a.tar.gz
online-392718a125022dd4300c8464ae9836120fdea41a.zip
wsd: fix: remove unnecessary condition
Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: Ibc5338b34713233c540e0de938dbb76b88398ef5
-rw-r--r--wsd/DocumentBroker.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index 293be095e1..b4f801944f 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -1958,9 +1958,6 @@ size_t DocumentBroker::addSessionInternal(const std::shared_ptr<ClientSession>&
#if !MOBILEAPP
// Tell the admin console about this new doc
std::string wopiHost = _storage->getUri().Poco::URI::getHost();
- if (wopiHost.std::string::empty()) {
- wopiHost = "";
- }
Admin::instance().addDoc(_docKey, getPid(), getFilename(), id, session->getUserName(),
session->getUserId(), _childProcess->getSMapsFD(), wopiHost);
Admin::instance().setDocWopiDownloadDuration(_docKey, _wopiLoadDuration);