Update database.mysql.old.php

This commit is contained in:
Namhyeon Go 2018-09-14 01:04:53 +09:00 committed by GitHub
parent a3064d5725
commit 06236417a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}