From aacd1ffd4052b04c724c2783b3ee2845ca4ada35 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Wed, 4 Mar 2015 23:32:20 -0500 Subject: Refactor exceptions I removed unnecessary constructors and unnecessary inheritance --- app/Exceptions/ContextException.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'app/Exceptions/ContextException.php') diff --git a/app/Exceptions/ContextException.php b/app/Exceptions/ContextException.php index 357751b7c..8f05eccd6 100644 --- a/app/Exceptions/ContextException.php +++ b/app/Exceptions/ContextException.php @@ -3,8 +3,6 @@ /** * An exception raised when a context is invalid */ -class FreshRSS_Context_Exception extends Exception { - public function __construct($message) { - parent::__construct($message); - } +class FreshRSS_Context_Exception extends \Exception { + } -- cgit v1.2.3