From 84d5bd492b30f9f33c3dda21e116a859e3a01cf3 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Fri, 27 Jul 2012 16:11:43 +0000 Subject: [PATCH] Remove extra argument from exception --- classes/query_builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/query_builder.php b/classes/query_builder.php index 1ea52d5..2bf6cb8 100644 --- a/classes/query_builder.php +++ b/classes/query_builder.php @@ -254,7 +254,7 @@ class Query_Builder { } catch(Exception $e) { - throw new BadConnectionException('Connection failed, invalid arguments', 2, $e); + throw new BadConnectionException('Connection failed, invalid arguments', 2); } // Set the connection name property, if applicable