From 4a02352ccc1b313ce967415c6ac10a32aba1893a Mon Sep 17 00:00:00 2001 From: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> Date: Mon, 30 Oct 2023 20:40:13 +0100 Subject: applies several small optimizations (#5511) declare(strict_types=1); Co-authored-by: Luc --- app/install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/install.php') diff --git a/app/install.php b/app/install.php index b42771fbb..a404f6f4d 100644 --- a/app/install.php +++ b/app/install.php @@ -290,7 +290,7 @@ function freshrss_already_installed(): bool { $system_conf = null; try { $system_conf = FreshRSS_SystemConfiguration::init($conf_path); - } catch (Minz_FileNotExistException $e) { + } catch (Minz_ConfigurationNamespaceException $e) { return false; } @@ -298,7 +298,7 @@ function freshrss_already_installed(): bool { $current_user = $system_conf->default_user; try { FreshRSS_UserConfiguration::init(USERS_PATH . '/' . $current_user . '/config.php'); - } catch (Minz_FileNotExistException $e) { + } catch (Minz_ConfigurationNamespaceException $e) { return false; } -- cgit v1.2.3