diff --git a/php/controller/createArticle-controller.php b/php/controller/createArticle-controller.php
index f5ec3c4..1a7e3cf 100644
--- a/php/controller/createArticle-controller.php
+++ b/php/controller/createArticle-controller.php
@@ -21,17 +21,8 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
$articleManager->addArticle($title, $content, $author, $category, $tags);
- foreach ($articleManager->getAllArticles() as $article) {
- echo htmlspecialchars($article["id"])."
";
- echo htmlspecialchars($article['title'])."
";
- echo htmlspecialchars($article['content'])."
";
- echo htmlspecialchars($article['author'])."
";
- echo htmlspecialchars($article['category'])."
";
- echo htmlspecialchars($article['tags'])."
";
- echo htmlspecialchars($article['date'])."
";
- }
// Weiterleitung zur Homepage
- //header("location: ../../index.php");
+ header("location: ../../index.php");
exit();
}