We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ae68c7 + 22528d1 commit 0a57645Copy full SHA for 0a57645
1 file changed
lib/private/Collaboration/Collaborators/LookupPlugin.php
@@ -66,7 +66,7 @@ public function search($search, $limit, $offset, ISearchResult $searchResult) {
66
$hasInternetConnection = (bool)$this->config->getSystemValue('has_internet_connection', true);
67
68
// if case of Global Scale we always search the lookup server
69
- if ((!$isLookupServerEnabled && !$isGlobalScaleEnabled) || !$hasInternetConnection) {
+ if (!$isGlobalScaleEnabled && (!$isLookupServerEnabled || !$hasInternetConnection)) {
70
return false;
71
}
72
0 commit comments