Skip to content

Commit

Permalink
Fixes #248. Removes obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
pakricard committed Nov 21, 2024
1 parent 9d71245 commit dc59878
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions includes/GetConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dc59878

Please sign in to comment.