From 3d30f9f8552c4c2110d5db48a2d0239a817ab023 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 8 Aug 2011 16:00:01 -0500 Subject: [PATCH] Refactor the database connector. --- system/db/connection.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/system/db/connection.php b/system/db/connection.php index e61bdcb0..459886d5 100644 --- a/system/db/connection.php +++ b/system/db/connection.php @@ -78,10 +78,8 @@ class Connection { { return $query->rowCount(); } - else - { - return $result; - } + + return $result; } /**