summaryrefslogtreecommitdiff
path: root/actions/unblock.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/unblock.php')
-rw-r--r--actions/unblock.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/actions/unblock.php b/actions/unblock.php
index 51ec0ae57..66ce0c879 100644
--- a/actions/unblock.php
+++ b/actions/unblock.php
@@ -23,7 +23,8 @@ class UnblockAction extends Action {
var $profile = null;
- function prepare($args) {
+ function prepare($args)
+ {
parent::prepare($args);
@@ -56,14 +57,16 @@ class UnblockAction extends Action {
return true;
}
- function handle($args) {
+ function handle($args)
+ {
parent::handle($args);
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$this->unblock_profile();
}
}
- function unblock_profile() {
+ function unblock_profile()
+ {
$cur = common_current_user();