From dc59878271a90e87ed178dfc3f49d17266344976 Mon Sep 17 00:00:00 2001 From: PakRicard Date: Fri, 22 Nov 2024 06:36:52 +0800 Subject: [PATCH] Fixes #248. Removes obsolete code --- includes/GetConfig.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/GetConfig.php b/includes/GetConfig.php index 55ffb6efc..24985e43a 100644 --- a/includes/GetConfig.php +++ b/includes/GetConfig.php @@ -40,14 +40,6 @@ $_SESSION['PageSecurityArray'][$MyRow['script']]=$MyRow['pagesecurity']; } - /* - check the decimalplaces field exists in currencies - this was added in 4.0 but is required in 4.04 as it is used everywhere as the default decimal places to show on all home currency amounts - */ - $Result = DB_query("SELECT decimalplaces FROM currencies",'','',false,false); - if (DB_error_no()!=0) { //then decimalplaces not already a field in currencies - $Result = DB_query("ALTER TABLE `currencies` - ADD COLUMN `decimalplaces` tinyint(3) NOT NULL DEFAULT 2 AFTER `hundredsname`"); - } /* Also reads all the company data set up in the company record and returns an array */ $SQL= "SELECT coyname,