From: Janusz Dobrowolski Date: Thu, 6 Jan 2011 21:33:25 +0000 (+0000) Subject: 'grn_clearing_act' pref initialization moved to 2.4 upgrade routines. X-Git-Tag: v2.4.2~19^2~404 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=4efed63a83e464ead0bb6896178e15bec68797e6;p=fa-stable.git 'grn_clearing_act' pref initialization moved to 2.4 upgrade routines. --- diff --git a/admin/gl_setup.php b/admin/gl_setup.php index 21027474..49710317 100644 --- a/admin/gl_setup.php +++ b/admin/gl_setup.php @@ -84,11 +84,6 @@ start_outer_table(TABLESTYLE2); table_section(1); -if (get_company_pref('grn_clearing_act') === null) { // available form 2.3.1, can be not defined on pre-2.4 installations - set_company_pref('grn_clearing_act', 'glsetup.purchase', 'varchar', 15, 0); - refresh_sys_prefs(); -} - $myrow = get_company_prefs(); $_POST['retained_earnings_act'] = $myrow["retained_earnings_act"];