From 29082f4aa97af6c140449e723fc94db50e5739dd Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Thu, 10 Sep 2020 22:26:18 +0000 Subject: [PATCH] POSTING remove REPLY route --- components/Posting/Posting.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/Posting/Posting.php b/components/Posting/Posting.php index f74d7c4dc4..fcbc46644e 100644 --- a/components/Posting/Posting.php +++ b/components/Posting/Posting.php @@ -31,7 +31,6 @@ use App\Util\Common; use App\Util\Exceptiion\InvalidFormException; use App\Util\Exception\RedirectException; use Component\Media\Media; -use Component\Posting\Controller as C; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\FileType; use Symfony\Component\Form\Extension\Core\Type\SubmitType; @@ -39,11 +38,6 @@ use Symfony\Component\Form\Extension\Core\Type\TextareaType; class Posting extends Module { - public function onAddRoute($r) - { - $r->connect('note_reply', '/note/reply/{reply_to<\d*>}', [C\Post::class, 'reply']); - } - public function onStartTwigPopulateVars(array &$vars) { if (($user = Common::user()) == null) {