diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-02-05 16:16:10 -0800 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-02-05 16:16:10 -0800 |
commit | ab82978b2d67545a9cd7bfc80837798212cff31b (patch) | |
tree | 27f1099827310661fb726ceefd6a8040436d1d58 /lib | |
parent | 8c8feb59b57ccf78589b9ab8a64f6195d226a568 (diff) |
Trac #894 and #1013 - fixed bad redirects after delete notice
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mailbox.php | 2 | ||||
-rw-r--r-- | lib/personal.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/mailbox.php b/lib/mailbox.php index 8d5d44e49..e8323dc28 100644 --- a/lib/mailbox.php +++ b/lib/mailbox.php @@ -63,6 +63,8 @@ class MailboxAction extends PersonalAction $this->page = 1; } + common_set_returnto($this->selfUrl()); + return true; } diff --git a/lib/personal.php b/lib/personal.php index 900df0257..e46350c63 100644 --- a/lib/personal.php +++ b/lib/personal.php @@ -55,7 +55,6 @@ class PersonalAction extends Action function handle($args) { parent::handle($args); - common_set_returnto($this->selfUrl()); } } |