X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fdata_checks.inc;h=0b94f9328723b49f80317879c8cfa5c2b919285d;hb=e000d0b3fb245b02de604356b1f60c65b5f4962f;hp=2f33cb531c272485e24e09fc4d728507dbfade61;hpb=1f0c585ef87e9138499a71ae2954b1a177a6ef97;p=fa-stable.git diff --git a/includes/data_checks.inc b/includes/data_checks.inc index 2f33cb53..0b94f932 100644 --- a/includes/data_checks.inc +++ b/includes/data_checks.inc @@ -111,22 +111,6 @@ function check_db_has_movement_types($msg) } } -function db_has_bank_trans_types() -{ - return check_empty_result("SELECT COUNT(*) FROM ".TB_PREF."bank_trans_types"); -} - -function check_db_has_bank_trans_types($msg) -{ - global $path_to_root; - if (!db_has_bank_trans_types()) - { - display_error($msg, true); - end_page(); - exit; - } -} - function db_customer_has_branches($customer_id) { return check_empty_result("SELECT COUNT(*) FROM ".TB_PREF."cust_branch WHERE debtor_no='$customer_id'");