summaryrefslogtreecommitdiff
path: root/htdocs/src
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2011-06-17 10:45:18 -0700
committerJesse Morgan <jesse@jesterpm.net ; true>2011-06-17 10:45:18 -0700
commit4abea1ff10cc1376308ba590ee4e97091fc997e1 (patch)
tree4be8a013cccda8350d9367f843a41b4b69717971 /htdocs/src
parentbd90538bb72812e2f770a2dbfe5357b96df08629 (diff)
Added delete post. Fixed logout
Diffstat (limited to 'htdocs/src')
-rw-r--r--htdocs/src/Post.inc.php6
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() {