summaryrefslogtreecommitdiffstats
path: root/apps/lookup_server_connector/lib/UpdateLookupServer.php
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-03-04 19:12:46 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-03-04 19:12:46 +0100
commit7406f42fdf4cdd27ac5bef407f2071eec877908c (patch)
tree0ff84b9f43ad890c8f74f49cd56be987a1dae798 /apps/lookup_server_connector/lib/UpdateLookupServer.php
parent79ec7bbcf64fb7edc3ef8b2dbe4fee4173736c2e (diff)
downloadnextcloud-server-7406f42fdf4cdd27ac5bef407f2071eec877908c.tar.gz
nextcloud-server-7406f42fdf4cdd27ac5bef407f2071eec877908c.zip
Fix Undefined property: OCA\LookupServerConnector\UpdateLookupServer::$config
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/lookup_server_connector/lib/UpdateLookupServer.php')
-rw-r--r--apps/lookup_server_connector/lib/UpdateLookupServer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lookup_server_connector/lib/UpdateLookupServer.php b/apps/lookup_server_connector/lib/UpdateLookupServer.php
index 727dff70cbb..f96b3d787f2 100644
--- a/apps/lookup_server_connector/lib/UpdateLookupServer.php
+++ b/apps/lookup_server_connector/lib/UpdateLookupServer.php
@@ -70,7 +70,7 @@ class UpdateLookupServer {
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)) {