diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-06-17 10:45:18 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net ; true> | 2011-06-17 10:45:18 -0700 |
commit | 4abea1ff10cc1376308ba590ee4e97091fc997e1 (patch) | |
tree | 4be8a013cccda8350d9367f843a41b4b69717971 /htdocs/src/Post.inc.php | |
parent | bd90538bb72812e2f770a2dbfe5357b96df08629 (diff) |
Added delete post. Fixed logout
Diffstat (limited to 'htdocs/src/Post.inc.php')
-rw-r--r-- | htdocs/src/Post.inc.php | 6 |
1 files changed, 2 insertions, 4 deletions
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() { |