From b13cff14dc0d5c29d418db45fd3392b1095c9192 Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Wed, 27 May 2026 18:16:22 +0200 Subject: [PATCH] testing --- php/model/LocalArticleManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/model/LocalArticleManager.php b/php/model/LocalArticleManager.php index cad0086..3738ce5 100644 --- a/php/model/LocalArticleManager.php +++ b/php/model/LocalArticleManager.php @@ -51,7 +51,7 @@ class LocalArticleManager implements ArticleManagerDAO { public function addArticle($title, $content, $author, $category, array $tags) { $articles = $this->getAllArticles(); - + /* $articles[] = [ "id" => count($articles)+1, "title" => $title, @@ -61,7 +61,7 @@ class LocalArticleManager implements ArticleManagerDAO { "tags" => $tags, "creationDate" => date("Y-m-d H:i:s") ]; - + */ $this->saveArticle($articles[]); }