summaryrefslogtreecommitdiff
path: root/actions/editapplication.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-01-13 07:33:51 +0000
committerZach Copley <zach@status.net>2010-01-14 02:41:09 +0000
commit7c34ac8cc2c3813f05deb8ac80e511648b441914 (patch)
treec53ec0b5bf90387e476e2e08789c68a99fdd7683 /actions/editapplication.php
parent22809baf94118ea7c0a41db4ac511277fc942a41 (diff)
Rework application registration workflow to be more private
Diffstat (limited to 'actions/editapplication.php')
-rw-r--r--actions/editapplication.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/actions/editapplication.php b/actions/editapplication.php
index a0ed3117a..a6db87c61 100644
--- a/actions/editapplication.php
+++ b/actions/editapplication.php
@@ -125,10 +125,7 @@ class EditApplicationAction extends OwnerDesignAction
if ($this->arg('cancel')) {
common_redirect(common_local_url('showapplication',
- array(
- 'nickname' => $cur->nickname,
- 'id' => $this->app->id)
- ), 303);
+ array('id' => $this->app->id)), 303);
} elseif ($this->arg('save')) {
$this->trySave();
} else {
@@ -253,8 +250,7 @@ class EditApplicationAction extends OwnerDesignAction
$this->app->uploadLogo();
- common_redirect(common_local_url('apps',
- array('nickname' => $cur->nickname)), 303);
+ common_redirect(common_local_url('oauthappssettings'), 303);
}
}