aboutsummaryrefslogtreecommitdiffstats
path: root/include/dblayer/functions_mysql.inc.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-10-13 09:05:58 +0000
committermistic100 <mistic@piwigo.org>2012-10-13 09:05:58 +0000
commitcb118782331ff5450cb2424c96c4e582b3cc672d (patch)
treec38ad4078414b3b8bd18a207e57e5a956fa01342 /include/dblayer/functions_mysql.inc.php
parent97294dac5ac27b43cb6a116d2852578376efa58d (diff)
feature 2773: add pwg_db_close() method
git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/dblayer/functions_mysql.inc.php')
-rw-r--r--include/dblayer/functions_mysql.inc.php5
1 files changed, 5 insertions, 0 deletions
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