diff --git a/e107_handlers/mysql_class.php b/e107_handlers/mysql_class.php
index 4617e8b64..8aade591f 100644
--- a/e107_handlers/mysql_class.php
+++ b/e107_handlers/mysql_class.php
@@ -1208,23 +1208,24 @@ class e_db_mysql
/**
- * @return void
- * @desc Closes the mySQL server connection.
- *
- * Only required if you open a second connection.
- * Native e107 connection is closed in the footer.php file
- *
- * Example :
- * $sql->db_Close();
- *
- * @access public
- */
- function db_Close()
+
+ * @desc Closes the mySQL server connection.
+ *
+ * Only required if you open a second connection.
+ * Native e107 connection is closed in the footer.php file
+ *
+ * Example :
+ * $sql->db_Close();
+ *
+ * @access public
+ * @return void
+ */
+ function close()
{
if(!$this->mySQLaccess)
{
global $db_ConnectionID;
- $this->mySQLaccess = $db_ConnectionID;
+ $this->mySQLaccess = $db_ConnectionID;
}
e107::getSingleton('e107_traffic')->BumpWho('db Close', 1);
$this->mySQLaccess = NULL; // correct way to do it when using shared links.
@@ -1232,6 +1233,15 @@ class e_db_mysql
}
+ /**
+ * BC Alias of close()
+ */
+ function db_Close()
+ {
+ $this->close();
+ }
+
+
/**
* @return int number of affected rows, or false on error
* @param string $table