From 2189ba5917aa34d317f7e9c04582c7ff7f245a54 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Tue, 5 Jan 2021 23:28:51 +0900 Subject: [PATCH] Remove useless use_prepared_statements option --- common/defaults/config.php | 1 - common/framework/parsers/configparser.php | 1 - 2 files changed, 2 deletions(-) diff --git a/common/defaults/config.php b/common/defaults/config.php index bbcb6c1b3..1e65f7e7c 100644 --- a/common/defaults/config.php +++ b/common/defaults/config.php @@ -128,7 +128,6 @@ return array( 'tablets' => false, 'viewport' => 'width=device-width, initial-scale=1.0, user-scalable=yes', ), - 'use_prepared_statements' => true, 'use_rewrite' => true, 'use_sso' => false, 'other' => array(), diff --git a/common/framework/parsers/configparser.php b/common/framework/parsers/configparser.php index a8cc1dbed..10a76f967 100644 --- a/common/framework/parsers/configparser.php +++ b/common/framework/parsers/configparser.php @@ -250,7 +250,6 @@ class ConfigParser $config['file']['folder_structure'] = 1; $config['file']['umask'] = Storage::recommendUmask(); $config['mobile']['enabled'] = $db_info->use_mobile_view === 'N' ? false : true; - $config['use_prepared_statements'] = $db_info->use_prepared_statements === 'Y' ? true : false; $config['use_rewrite'] = $db_info->use_rewrite === 'Y' ? true : false; $config['use_sso'] = $db_info->use_sso === 'Y' ? true : false;