diff --git a/footer.inc.php3 b/footer.inc.php3 index ef05833b3..b16b8afea 100755 --- a/footer.inc.php3 +++ b/footer.inc.php3 @@ -8,12 +8,10 @@ /** * Close MySql non-persistent connections */ -if (!$cfgPersistentConnections - && (isset($dbh) && $dbh)) { +if (isset($dbh) && $dbh) { @mysql_close($dbh); } -if (!$cfgPersistentConnections - && (isset($userlink) && $userlink)) { +if (isset($userlink) && $userlink) { @mysql_close($userlink); } ?>