Skip to content

Commit

Permalink
Merge pull request #14519 from nextcloud/feature/config-undefined
Browse files Browse the repository at this point in the history
Fix Undefined property: OCA\LookupServerConnector\UpdateLookupServer::$config
  • Loading branch information
MorrisJobke authored Mar 5, 2019
2 parents ede5f44 + 7406f42 commit 679afa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/lookup_server_connector/lib/UpdateLookupServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function __construct(AccountManager $accountManager,
return;
}

$this->lookupServerEnabled = $this->config->getAppValue('files_sharing', 'lookupServerUploadEnabled', 'yes') === 'yes';
$this->lookupServerEnabled = $config->getAppValue('files_sharing', 'lookupServerUploadEnabled', 'yes') === 'yes';

$this->lookupServer = $config->getSystemValue('lookup_server', 'https://lookup.nextcloud.com');
if(!empty($this->lookupServer)) {
Expand Down

0 comments on commit 679afa2

Please sign in to comment.