From df4d246ede4f238bb18d37bb22fa8a29c2b7bd1a Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Wed, 22 Jul 2020 11:50:20 +0000 Subject: [PATCH] [CONTROLLER] Remove example enqueue --- src/Controller/NetworkPublic.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Controller/NetworkPublic.php b/src/Controller/NetworkPublic.php index 152e52051d..2183ce12fa 100644 --- a/src/Controller/NetworkPublic.php +++ b/src/Controller/NetworkPublic.php @@ -31,19 +31,16 @@ namespace App\Controller; use App\Core\Controller; -use App\Core\Queue\Queue; class NetworkPublic extends Controller { public function onPost() { - return ['_template' => 'network/public.html.twig']; + return ['notices' => ['some notice', 'some other notice', 'some other more diferent notice']]; } public function handle() { - Queue::enqueue('Yo, test', 'network_public'); - return [ '_template' => 'network/public.html.twig', 'notices' => ['some notice', 'some other notice', 'some other more diferent notice'],