aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/ConfigController.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2016-01-20 17:16:17 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-01-22 21:12:11 +0100
commit5f8a785719c1dfeacc0bccc0781a94bd396b80ff (patch)
treeaf9c1d71d44c21359ea9e6601700039700a7f824 /src/Wallabag/CoreBundle/Controller/ConfigController.php
parentb0b893eafd3c1d66b8681a4a6420603af42ec084 (diff)
downloadwallabag-5f8a785719c1dfeacc0bccc0781a94bd396b80ff.tar.gz
wallabag-5f8a785719c1dfeacc0bccc0781a94bd396b80ff.tar.zst
wallabag-5f8a785719c1dfeacc0bccc0781a94bd396b80ff.zip
SensioLabsInsight fixes
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/ConfigController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php
index 6c375909..b01aaa7f 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -198,7 +198,7 @@ class ConfigController extends Controller
198 * 198 *
199 * @return \Symfony\Component\HttpFoundation\RedirectResponse 199 * @return \Symfony\Component\HttpFoundation\RedirectResponse
200 */ 200 */
201 public function deleteTaggingRule(TaggingRule $rule) 201 public function deleteTaggingRuleAction(TaggingRule $rule)
202 { 202 {
203 if ($this->getUser()->getId() != $rule->getConfig()->getUser()->getId()) { 203 if ($this->getUser()->getId() != $rule->getConfig()->getUser()->getId()) {
204 throw $this->createAccessDeniedException('You can not access this tagging ryle.'); 204 throw $this->createAccessDeniedException('You can not access this tagging ryle.');