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;