Merge pull request #14519 from nextcloud/feature/config-undefined

Fix Undefined property: OCA\LookupServerConnector\UpdateLookupServer::$config
This commit is contained in:
Morris Jobke 2019-03-05 10:06:09 +01:00 committed by GitHub
commit 679afa251b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class UpdateLookupServer {
return; 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'); $this->lookupServer = $config->getSystemValue('lookup_server', 'https://lookup.nextcloud.com');
if(!empty($this->lookupServer)) { if(!empty($this->lookupServer)) {