aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-06-13 19:39:01 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-06-13 19:39:01 +0000
commitd22e2697e9655d2fe7df8f183a68181851279f91 (patch)
tree28dc19ba68bde8585a86289c9994247d0d88242d /phpBB/includes/ucp
parent31c97676ade8dc18d79f07e749cc38b1186cf7be (diff)
downloadforums-d22e2697e9655d2fe7df8f183a68181851279f91.tar
forums-d22e2697e9655d2fe7df8f183a68181851279f91.tar.gz
forums-d22e2697e9655d2fe7df8f183a68181851279f91.tar.bz2
forums-d22e2697e9655d2fe7df8f183a68181851279f91.tar.xz
forums-d22e2697e9655d2fe7df8f183a68181851279f91.zip
Fix some instances where we left db connections open (registration -> captcha for example)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8655 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp')
-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 0f37c456fa..b91c88b7e8 100644
--- a/phpBB/includes/ucp/ucp_confirm.php
+++ b/phpBB/includes/ucp/ucp_confirm.php
@@ -73,7 +73,9 @@ class ucp_confirm
$captcha = new captcha();
$captcha->execute($row['code'], $row['seed']);
- exit;
+
+ garbage_collection();
+ exit_handler();
}
}