From 0c74aa451e16e87dc0a8217db516342ce25eda0f Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Mon, 5 Jul 2010 16:10:45 -0400 Subject: [PATCH] Go ahead and silence errors on mysql_close --- framework/Db/lib/Horde/Db/Adapter/Mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Db/lib/Horde/Db/Adapter/Mysql.php b/framework/Db/lib/Horde/Db/Adapter/Mysql.php index 38d4ca0ca..e828bb21c 100644 --- a/framework/Db/lib/Horde/Db/Adapter/Mysql.php +++ b/framework/Db/lib/Horde/Db/Adapter/Mysql.php @@ -113,7 +113,7 @@ class Horde_Db_Adapter_Mysql extends Horde_Db_Adapter_Base */ public function disconnect() { - if ($this->_connection) { mysql_close($this->_connection); } + if ($this->_connection) { @mysql_close($this->_connection); } $this->_connection = null; $this->_active = false; } -- 2.11.0