From 743c562ac9a8d8df7a176a989ebee36ad2acbfb7 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sun, 8 Nov 2020 17:13:51 +0100 Subject: Move article status consts into Article class --- ratatoeskr/setup/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr/setup/setup.php') diff --git a/ratatoeskr/setup/setup.php b/ratatoeskr/setup/setup.php index d096afd..7fc4bb7 100644 --- a/ratatoeskr/setup/setup.php +++ b/ratatoeskr/setup/setup.php @@ -228,7 +228,7 @@ STYLE; $article->title["en"] = new Translation("Congratulations! You have just installed Ratatöskr!", ""); $article->text["en"] = new Translation("Congratulations! You have just installed Ratatöskr!", "Markdown"); $article->excerpt["en"] = new Translation("Congratulations! You have just installed Ratatöskr!", "Markdown"); - $article->status = ARTICLE_STATUS_LIVE; + $article->status = Article::STATUS_LIVE; $article->timestamp = time(); $article->allow_comments = true; $article->set_section($section); -- cgit v1.2.3-70-g09d2