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/EntriesGetterException.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'app/Exceptions/EntriesGetterException.php') diff --git a/app/Exceptions/EntriesGetterException.php b/app/Exceptions/EntriesGetterException.php index 5f47c830b..8aace1840 100644 --- a/app/Exceptions/EntriesGetterException.php +++ b/app/Exceptions/EntriesGetterException.php @@ -1,7 +1,5 @@ Date: Wed, 3 Jun 2015 20:21:32 +0200 Subject: PHP 5.2 compatiblity Namespaces are not needed so far. https://github.com/FreshRSS/FreshRSS/commit/aacd1ffd4052b04c724c2783b3ee2845ca4ada35#commitcomment-11503581 --- app/Exceptions/ContextException.php | 2 +- app/Exceptions/DAOException.php | 2 +- app/Exceptions/EntriesGetterException.php | 2 +- app/Exceptions/FeedException.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'app/Exceptions/EntriesGetterException.php') diff --git a/app/Exceptions/ContextException.php b/app/Exceptions/ContextException.php index 8f05eccd6..00934cbfd 100644 --- a/app/Exceptions/ContextException.php +++ b/app/Exceptions/ContextException.php @@ -3,6 +3,6 @@ /** * An exception raised when a context is invalid */ -class FreshRSS_Context_Exception extends \Exception { +class FreshRSS_Context_Exception extends Exception { } diff --git a/app/Exceptions/DAOException.php b/app/Exceptions/DAOException.php index e48e521ab..14bee3403 100644 --- a/app/Exceptions/DAOException.php +++ b/app/Exceptions/DAOException.php @@ -1,5 +1,5 @@