diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-11-08 17:13:51 +0100 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-11-08 17:13:51 +0100 |
commit | 743c562ac9a8d8df7a176a989ebee36ad2acbfb7 (patch) | |
tree | a36d2e7e7226d12aa55b912f77e9ac0c7e873b89 /ratatoeskr/setup/setup.php | |
parent | 05b42c3327a14351692330bdc299dd011cd03dc4 (diff) | |
download | ratatoeskr-cms-743c562ac9a8d8df7a176a989ebee36ad2acbfb7.tar.gz ratatoeskr-cms-743c562ac9a8d8df7a176a989ebee36ad2acbfb7.tar.bz2 ratatoeskr-cms-743c562ac9a8d8df7a176a989ebee36ad2acbfb7.zip |
Move article status consts into Article class
Diffstat (limited to 'ratatoeskr/setup/setup.php')
-rw-r--r-- | ratatoeskr/setup/setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |