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[]); }