summaryrefslogtreecommitdiff
path: root/htdocs/src/Post.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/src/Post.inc.php')
-rw-r--r--htdocs/src/Post.inc.php4
1 files changed, 4 insertions, 0 deletions
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'];
}