From: Chuck Hagenbuch Date: Mon, 5 Jul 2010 20:10:45 +0000 (-0400) Subject: Go ahead and silence errors on mysql_close X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0c74aa451e16e87dc0a8217db516342ce25eda0f;p=horde.git Go ahead and silence errors on mysql_close --- 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; }