diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-09 08:40:15 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-09 08:40:15 -0700 |
commit | 1f8451f4aa9128e55d4b274faf7f0cd19d56e2b8 (patch) | |
tree | 3b3d27baa6a9fce818e858073a37ba7f88524718 /lib/profileformaction.php | |
parent | 857db1fabe8dc1d4420abad74d574c536b120ad5 (diff) | |
parent | 2be04e2a631ea9f373386bed792e7233418e2ee2 (diff) |
Merge branch 'testing' into 0.9.x
Diffstat (limited to 'lib/profileformaction.php')
-rw-r--r-- | lib/profileformaction.php | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/lib/profileformaction.php b/lib/profileformaction.php index 8a934666e..0ffafe5fb 100644 --- a/lib/profileformaction.php +++ b/lib/profileformaction.php @@ -41,7 +41,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { * @link http://status.net/ */ -class ProfileFormAction extends Action +class ProfileFormAction extends RedirectingAction { var $profile = null; @@ -102,29 +102,6 @@ class ProfileFormAction extends Action } /** - * Return to the calling page based on hidden arguments - * - * @return void - */ - - function returnToArgs() - { - foreach ($this->args as $k => $v) { - if ($k == 'returnto-action') { - $action = $v; - } else if (substr($k, 0, 9) == 'returnto-') { - $args[substr($k, 9)] = $v; - } - } - - if ($action) { - common_redirect(common_local_url($action, $args), 303); - } else { - $this->clientError(_("No return-to arguments.")); - } - } - - /** * handle a POST request * * sub-classes should overload this request |