From 4abea1ff10cc1376308ba590ee4e97091fc997e1 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Fri, 17 Jun 2011 10:45:18 -0700 Subject: Added delete post. Fixed logout --- htdocs/src/Post.inc.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'htdocs/src') diff --git a/htdocs/src/Post.inc.php b/htdocs/src/Post.inc.php index d887694..c844830 100644 --- a/htdocs/src/Post.inc.php +++ b/htdocs/src/Post.inc.php @@ -168,10 +168,8 @@ class Post { } public function approve() { - if ($this->getStage() == 'moderation') { - $this->info['stage'] = 'approved'; - $this->sendAcceptance(); - } + $this->info['stage'] = 'approved'; + $this->sendAcceptance(); } public function verify() { -- cgit v1.2.3