projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code cleanup.
[fa-stable.git]
/
includes
/
data_checks.inc
diff --git
a/includes/data_checks.inc
b/includes/data_checks.inc
index b79bf3d2357d7c5cc3981331cf06cf82728ccccd..2f33cb531c272485e24e09fc4d728507dbfade61 100644
(file)
--- a/
includes/data_checks.inc
+++ b/
includes/data_checks.inc
@@
-420,6
+420,11
@@
function check_db_has_gl_account_groups($msg)
}
}
+function db_has_quick_entries()
+{
+ return check_empty_result("SELECT COUNT(*) FROM ".TB_PREF."quick_entries");
+}
+
function check_empty_result($sql)
{
$result = db_query($sql, "could not do check empty query");