Go ahead and silence errors on mysql_close
authorChuck Hagenbuch <chuck@bluestatedigital.com>
Mon, 5 Jul 2010 20:10:45 +0000 (16:10 -0400)
committerChuck Hagenbuch <chuck@bluestatedigital.com>
Mon, 5 Jul 2010 20:10:45 +0000 (16:10 -0400)
framework/Db/lib/Horde/Db/Adapter/Mysql.php

index 38d4ca0..e828bb2 100644 (file)
@@ -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;
     }