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:
@@ -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']);
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user