# HG changeset patch # User Dan # Date 1205605158 14400 # Node ID f205f4b201edb81044722b8d2b77c9393ac7609a # Parent 7084168f23afeed5d91669f3d14f46e3b0291d25 [minor] silence errors when closing DB connections diff -r 7084168f23af -r f205f4b201ed includes/dbal.php --- a/includes/dbal.php Sat Mar 15 14:18:54 2008 -0400 +++ b/includes/dbal.php Sat Mar 15 14:19:18 2008 -0400 @@ -494,7 +494,7 @@ } function close() { - mysql_close($this->_conn); + @mysql_close($this->_conn); unset($this->_conn); } @@ -1244,7 +1244,7 @@ } function close() { - pg_close($this->_conn); + @pg_close($this->_conn); unset($this->_conn); }