From 7dcdfbcecfec7d183f53a43aa3f112af2b5469c0 Mon Sep 17 00:00:00 2001 From: Cyrille Bollu Date: Fri, 23 Aug 2019 16:03:49 +0200 Subject: [PATCH] Initialise $result in function checkInstallationStatus Signed-off-by: Cyrille Bollu --- lib/Service/CheckService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Service/CheckService.php b/lib/Service/CheckService.php index 500e13c2..28803caf 100644 --- a/lib/Service/CheckService.php +++ b/lib/Service/CheckService.php @@ -181,6 +181,8 @@ class CheckService { $this->configService->setCoreValue('public_webfinger', 'social/lib/webfinger.php'); $this->configService->setCoreValue('public_host-meta', 'social/lib/hostmeta.php'); + $result = []; + if (!$light) { $result = [ 'invalidFollows' => $this->removeInvalidFollows(),