From 0c72d673a9056c753503e6b2a8d4fbf3aba75a95 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Wed, 25 May 2011 11:32:49 -0700 Subject: Moderation workflow is.. working --- htdocs/src/Post.inc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'htdocs/src/Post.inc.php') diff --git a/htdocs/src/Post.inc.php b/htdocs/src/Post.inc.php index 820ca97..8c936d9 100644 --- a/htdocs/src/Post.inc.php +++ b/htdocs/src/Post.inc.php @@ -128,6 +128,10 @@ class Post { } } + public function reject() { + $this->info['stage'] = 'rejected'; + } + public function getCreated() { return $this->info['created']; } -- cgit v1.2.3