From 6b9b0ad5cd208ca2f60abebf340084243cefca8d Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 26 Jul 2011 15:31:56 -0500 Subject: [PATCH] remove unnecessary else. --- system/view.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/system/view.php b/system/view.php index 5db1345a..bcfc9750 100644 --- a/system/view.php +++ b/system/view.php @@ -111,10 +111,8 @@ class View { { return $path; } - else - { - throw new \Exception("View [".$this->view."] doesn't exist."); - } + + throw new \Exception("View [".$this->view."] doesn't exist."); } /**