From 5354dc163dcc02c98f81d8277a98430febdb8032 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Mon, 13 Jun 2022 12:12:50 +0200 Subject: [PATCH] Refactor --- src/api/blog.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api/blog.php b/src/api/blog.php index a9a378b4..ee2e229a 100644 --- a/src/api/blog.php +++ b/src/api/blog.php @@ -19,7 +19,6 @@ $dateFormatter = new \IntlDateFormatter( \IntlDateFormatter::NONE ); - switch ($_SERVER['REQUEST_METHOD']) { case 'GET': $posts = Blog::getPosts();