diff --git a/helper/database.mysql.old.php b/helper/database.mysql.old.php index e1d859c..e482de9 100644 --- a/helper/database.mysql.old.php +++ b/helper/database.mysql.old.php @@ -50,3 +50,11 @@ if(!function_exists("exec_db_mysql_old_fetch_all")) { return $rows; } } + +if(!function_exists("close_db_mysql_old_connect")) { + function close_db_mysql_old_connect() { + $dbc = get_scope("dbc"); + mysql_close($dbc); + set_scope("dbc", null); + } +}