From b6f4e48c6d65106a0e8b5ab918805e148547814c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 22 Sep 2021 13:45:40 +0200 Subject: [PATCH] Remove useless file_exists() check for composer autoloader in install.php The autoloader must exist at that point. --- wcfsetup/install.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wcfsetup/install.php b/wcfsetup/install.php index d26d943a92..4bbda85e9b 100644 --- a/wcfsetup/install.php +++ b/wcfsetup/install.php @@ -1233,9 +1233,7 @@ if (!class_exists('wcf\system\WCFSetup')) { } // Composer autoloader -if (file_exists(TMP_DIR.'install/files/lib/system/api/autoload.php')) { - require_once(TMP_DIR.'install/files/lib/system/api/autoload.php'); -} +require_once(TMP_DIR.'install/files/lib/system/api/autoload.php'); // start setup new \wcf\system\WCFSetup(); -- 2.20.1