X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fdata_checks.inc;h=7ce8d668adced13db154009c9bca372e8d77edc6;hb=7e8df3a179c05c51085349e139aac9ce88b9378d;hp=272584c3270c7b0e0ccee3d78d5757bf829efb4f;hpb=17b390efcf904072b02ec866b2a427490471a260;p=fa-stable.git diff --git a/includes/data_checks.inc b/includes/data_checks.inc index 272584c3..7ce8d668 100644 --- a/includes/data_checks.inc +++ b/includes/data_checks.inc @@ -118,22 +118,6 @@ function check_db_has_tax_groups($msg) } } -function db_has_movement_types() -{ - return check_empty_result("SELECT COUNT(*) FROM ".TB_PREF."movement_types"); -} - -function check_db_has_movement_types($msg) -{ - global $path_to_root; - if (!db_has_movement_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 "