diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-12 22:48:25 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-12 22:48:25 +0200 |
commit | 9a97375ab386fa7fc20907847fe5adeec921aef0 (patch) | |
tree | c60dee183471711867a9ed2d1506a76f428a2a4e /businesslayer/feedbusinesslayer.php | |
parent | 1fbe0ea4cf1abcd98bcaae5750e372c244e08aeb (diff) |
add comments on empty catch blocks
Diffstat (limited to 'businesslayer/feedbusinesslayer.php')
-rw-r--r-- | businesslayer/feedbusinesslayer.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/businesslayer/feedbusinesslayer.php b/businesslayer/feedbusinesslayer.php index 04f3ff61e..05792059b 100644 --- a/businesslayer/feedbusinesslayer.php +++ b/businesslayer/feedbusinesslayer.php @@ -93,6 +93,8 @@ class FeedBusinessLayer extends BusinessLayer { $this->mapper->findByUrlHash($feed->getUrlHash(), $userId); throw new BusinessLayerConflictException( $this->l10n->t('Can not add feed: Exists already')); + + // If no matchin feed was found everything was ok } catch(DoesNotExistException $ex){} // insert feed |