summaryrefslogtreecommitdiff
path: root/actions/othersettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/othersettings.php')
-rw-r--r--actions/othersettings.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/actions/othersettings.php b/actions/othersettings.php
index 8d6e00404..3f2d8df6b 100644
--- a/actions/othersettings.php
+++ b/actions/othersettings.php
@@ -134,10 +134,6 @@ class OthersettingsAction extends AccountSettingsAction
$this->arg('maxnoticelength') : User_urlshortener_prefs::maxNoticeLength($user),
_('URLs in notices longer than this will be shortened.'));
$this->elementEnd('li');
- $this->elementStart('li');
- $this->checkbox('viewdesigns', _('View profile designs'),
- - $user->viewdesigns, _('Show or hide profile designs.'));
- $this->elementEnd('li');
$this->elementEnd('ul');
$this->submit('save', _('Save'));
$this->elementEnd('fieldset');
@@ -170,8 +166,6 @@ class OthersettingsAction extends AccountSettingsAction
return;
}
- $viewdesigns = $this->boolean('viewdesigns');
-
$maxurllength = $this->trimmed('maxurllength');
if (!Validate::number($maxurllength, array('min' => 0))) {
@@ -193,7 +187,6 @@ class OthersettingsAction extends AccountSettingsAction
$original = clone($user);
$user->urlshorteningservice = $urlshorteningservice;
- $user->viewdesigns = $viewdesigns;
$result = $user->update($original);