From 6c746cf8ec8f48f11039e49937f8ff755fb0fbf4 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 14 Jan 2024 19:56:03 +0100 Subject: [PATCH] refactor(certificate manager): remove unused variable Signed-off-by: Thomas Citharel --- lib/private/Security/CertificateManager.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/private/Security/CertificateManager.php b/lib/private/Security/CertificateManager.php index 5aad92548ff7b..4103e78171035 100644 --- a/lib/private/Security/CertificateManager.php +++ b/lib/private/Security/CertificateManager.php @@ -102,7 +102,6 @@ private function hasCertificates(): bool { if (!$this->view->is_dir($path)) { return false; } - $result = []; $handle = $this->view->opendir($path); if (!is_resource($handle)) { return false;