diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-06-14 15:58:19 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-06-14 15:58:19 -0700 |
commit | c2ba727d6154394fe234e9297b430ac69fd24c88 (patch) | |
tree | 7d8d787a46940cfaf9310bf8be4be67633099d8c /actions | |
parent | daf2e7ef47b6ed071e764858c4b1a9f5eaadb65d (diff) | |
parent | 203a5aba67c3bd9e2848d90b1778240b387aeda3 (diff) |
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'actions')
-rw-r--r-- | actions/block.php | 2 | ||||
-rw-r--r-- | actions/showstream.php | 8 | ||||
-rw-r--r-- | actions/unblock.php | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/actions/block.php b/actions/block.php index 34f991dc6..0efee5932 100644 --- a/actions/block.php +++ b/actions/block.php @@ -180,7 +180,7 @@ class BlockAction extends Action if ($action) { common_redirect(common_local_url($action, $args), 303); } else { - common_redirect(common_local_url('subscriptions', + common_redirect(common_local_url('subscribers', array('nickname' => $cur->nickname)), 303); } diff --git a/actions/showstream.php b/actions/showstream.php index e2f4e24d4..72316b259 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -320,10 +320,14 @@ class ShowstreamAction extends ProfileAction $blocked = $cur->hasBlocked($this->profile); $this->elementStart('li', 'entity_block'); if ($blocked) { - $ubf = new UnblockForm($this, $this->profile); + $ubf = new UnblockForm($this, $this->profile, + array('action' => 'showstream', + 'nickname' => $this->profile->nickname)); $ubf->show(); } else { - $bf = new BlockForm($this, $this->profile); + $bf = new BlockForm($this, $this->profile, + array('action' => 'showstream', + 'nickname' => $this->profile->nickname)); $bf->show(); } $this->elementEnd('li'); diff --git a/actions/unblock.php b/actions/unblock.php index 8573b2a87..6e671c9dd 100644 --- a/actions/unblock.php +++ b/actions/unblock.php @@ -118,7 +118,7 @@ class UnblockAction extends Action if ($action) { common_redirect(common_local_url($action, $args), 303); } else { - common_redirect(common_local_url('subscriptions', + common_redirect(common_local_url('subscribers', array('nickname' => $cur->nickname)), 303); } |