diff options
Diffstat (limited to 'lib/debug.lib.php')
-rw-r--r-- | lib/debug.lib.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/debug.lib.php b/lib/debug.lib.php index 9b8b8e05..3eb3ca9e 100644 --- a/lib/debug.lib.php +++ b/lib/debug.lib.php @@ -31,29 +31,6 @@ */ /** - * check_database_inserted - * checks to make sure that you have inserted the database - * and that the user you are using has access to it - */ -function check_database_inserted($dbh,$db_name) { - - $sql = "DESCRIBE session"; - $db_results = Dba::read($sql); - - if (!$db_results) { - return false; - } - - // Make sure the whole table is there - if (Dba::num_rows($db_results) != '7') { - return false; - } - - return true; - -} // check_database_inserted - -/** * check_php_ver * checks the php version and makes * sure that it's good enough |