testing
This commit is contained in:
@@ -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[]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user