aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_confirm.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-06-13 19:44:40 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-06-13 19:44:40 +0000
commiteeba8f456003cdcbdd4a6573b6a3b25250bbccef (patch)
treec2cf819ff1c67fbc1b68114d8278767f8cefe0c2 /phpBB/includes/ucp/ucp_confirm.php
parent677e6451c45c2362893f49acf2d5390c0f5dd192 (diff)
downloadforums-eeba8f456003cdcbdd4a6573b6a3b25250bbccef.tar
forums-eeba8f456003cdcbdd4a6573b6a3b25250bbccef.tar.gz
forums-eeba8f456003cdcbdd4a6573b6a3b25250bbccef.tar.bz2
forums-eeba8f456003cdcbdd4a6573b6a3b25250bbccef.tar.xz
forums-eeba8f456003cdcbdd4a6573b6a3b25250bbccef.zip
Fix some instances where we left db connections open (registration -> captcha for example)
git-svn-id: file:///svn/phpbb/trunk@8656 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_confirm.php')
-rw-r--r--phpBB/includes/ucp/ucp_confirm.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_confirm.php b/phpBB/includes/ucp/ucp_confirm.php
index 55d27e3c2e..94fb9a729f 100644
--- a/phpBB/includes/ucp/ucp_confirm.php
+++ b/phpBB/includes/ucp/ucp_confirm.php
@@ -72,7 +72,9 @@ class ucp_confirm
}
captcha::execute($row['code'], $row['seed']);
- exit;
+
+ garbage_collection();
+ exit_handler();
}
}