summaryrefslogtreecommitdiff
path: root/actions/groupdesignsettings.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-06 16:44:35 -0700
committerZach Copley <zach@controlyourself.ca>2009-07-06 16:44:35 -0700
commit4fffe1874f7db6239a42d5a9acdc4279fdde08f8 (patch)
treec2e3d4367cd0fa0fa199bf36a991e7668fbfd62d /actions/groupdesignsettings.php
parent195ec6820bf0c7fa60bca0f112a2ff8f98345a3c (diff)
Fix redundant page display for group design settings
Diffstat (limited to 'actions/groupdesignsettings.php')
-rw-r--r--actions/groupdesignsettings.php32
1 files changed, 0 insertions, 32 deletions
diff --git a/actions/groupdesignsettings.php b/actions/groupdesignsettings.php
index 6c1c052cb..bb01243c6 100644
--- a/actions/groupdesignsettings.php
+++ b/actions/groupdesignsettings.php
@@ -312,36 +312,4 @@ class GroupDesignSettingsAction extends DesignSettingsAction
$this->showForm(_('Design preferences saved.'), true);
}
- /**
- * Handle input and output a page (overrided)
- *
- * @param array $args $_REQUEST arguments
- *
- * @return void
- */
-
- function handle($args)
- {
- parent::handle($args);
- if (!common_logged_in()) {
- $this->clientError(_('Not logged in.'));
- return;
- } else if (!common_is_real_login()) {
- // Cookie theft means that automatic logins can't
- // change important settings or see private info, and
- // _all_ our settings are important
- common_set_returnto($this->selfUrl());
- $user = common_current_user();
- if ($user->hasOpenID()) {
- common_redirect(common_local_url('openidlogin'), 303);
- } else {
- common_redirect(common_local_url('login'), 303);
- }
- } else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
- $this->handlePost();
- } else {
- $this->showForm();
- }
- }
-
}