removed closing of db connection, closing database connection is only required if script runs longer than database connection is needed

This commit is contained in:
Sebastian Mendel
2007-10-16 14:02:16 +00:00
parent 46b110828b
commit d9eebc2ae0
9 changed files with 62 additions and 178 deletions

View File

@@ -114,14 +114,4 @@ if (!isset($resize)) {
ImageDestroy($srcImage);
ImageDestroy($destImage);
}
/**
* Close MySql non-persistent connections
*/
if (isset($GLOBALS['controllink']) && $GLOBALS['controllink']) {
@PMA_DBI_close($GLOBALS['controllink']);
}
if (isset($GLOBALS['userlink']) && $GLOBALS['userlink']) {
@PMA_DBI_close($GLOBALS['userlink']);
}
?>