From b209544bcfdc39be741b319958c35306dceeedd8 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 12 Apr 2013 20:33:57 +0200 Subject: [PATCH] Small optimization --- wcfsetup/install/files/acp/install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/acp/install.php b/wcfsetup/install/files/acp/install.php index 81a9916150..c6d38d0ba5 100644 --- a/wcfsetup/install/files/acp/install.php +++ b/wcfsetup/install/files/acp/install.php @@ -5,6 +5,7 @@ use wcf\system\cache\CacheHandler; use wcf\system\session\SessionHandler; use wcf\system\template\ACPTemplateEngine; use wcf\system\WCF; +use wcf\util\DateUtil; /** * @author Marcel Werk @@ -68,7 +69,7 @@ ACPTemplateEngine::deleteCompiledTemplates(WCF_DIR.'acp/templates/compiled/'); // get server timezone if ($timezone = @date_default_timezone_get()) { - if ($timezone != 'Europe/London' && in_array($timezone, \wcf\util\DateUtil::getAvailableTimezones())) { + if ($timezone != 'Europe/London' && in_array($timezone, DateUtil::getAvailableTimezones())) { $sql = "UPDATE wcf".WCF_N."_option SET optionValue = ? WHERE optionName = ?"; -- 2.20.1