From cb118782331ff5450cb2424c96c4e582b3cc672d Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 13 Oct 2012 09:05:58 +0000 Subject: feature 2773: add pwg_db_close() method git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/dblayer/functions_mysql.inc.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/dblayer') diff --git a/include/dblayer/functions_mysql.inc.php b/include/dblayer/functions_mysql.inc.php index f33d616b0..32b6b1208 100644 --- a/include/dblayer/functions_mysql.inc.php +++ b/include/dblayer/functions_mysql.inc.php @@ -178,6 +178,11 @@ function pwg_db_insert_id($table=null, $column='id') return mysql_insert_id(); } +function pwg_db_close($link=null) +{ + return mysql_close($link); +} + /** * * complex functions -- cgit v1.2.3