summaryrefslogtreecommitdiff
path: root/htdocs/src
diff options
context:
space:
mode:
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() {