diff options
author | Andras Timar <andras.timar@collabora.com> | 2022-06-13 16:14:17 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-06-13 16:14:34 +0200 |
commit | 43ca87c1df80acf719453cba3ed663c95cfbed2f (patch) | |
tree | fbaee7b86fe380af2f2c25716ec91b7761faa626 | |
parent | jsdialog: be sure popup overlay will not block user (diff) | |
download | online-43ca87c1df80acf719453cba3ed663c95cfbed2f.tar.gz online-43ca87c1df80acf719453cba3ed663c95cfbed2f.zip |
Revert "wsd: fetch external resource in debug build, but not for unit tests"
This reverts commit e9b6dbf3773e64bb9a7d538f90c2efba6a70e83e.
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5469e9d279f6e0774ccff316a17870820a68ba6b
-rw-r--r-- | wsd/COOLWSD.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/wsd/COOLWSD.cpp b/wsd/COOLWSD.cpp index bad750e9fd..9423fb6bbd 100644 --- a/wsd/COOLWSD.cpp +++ b/wsd/COOLWSD.cpp @@ -2396,12 +2396,10 @@ void COOLWSD::innerInitialize(Application& self) << getServiceURI("/hosting/discovery") << '\n'; std::cerr << std::endl; +#else + // ---------------- from here on we start getting external messages ---------------- + FileServerRequestHandler::fetchExternal(); #endif - if (!UnitWSD::isUnitTesting()) - { - // ---------------- from here on we start getting external messages ---------------- - FileServerRequestHandler::fetchExternal(); - } #endif } |