Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Mendel <cybot_tm@users.sourceforge.net>2007-10-16 18:02:16 +0400
committerSebastian Mendel <cybot_tm@users.sourceforge.net>2007-10-16 18:02:16 +0400
commitd9eebc2ae067b7d17d2c0e115555ed898af633a4 (patch)
treedd9361147579c9eacc92768c2d2a20bc28364144 /transformation_wrapper.php
parent46b110828b4972b862fda86b5338b287c2d9918e (diff)
removed closing of db connection, closing database connection is only required if script runs longer than database connection is needed
Diffstat (limited to 'transformation_wrapper.php')
-rw-r--r--transformation_wrapper.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/transformation_wrapper.php b/transformation_wrapper.php
index a2f669f494..1871baf7c2 100644
--- a/transformation_wrapper.php
+++ b/transformation_wrapper.php
@@ -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']);
-}
?>