summaryrefslogtreecommitdiff
path: root/actions/profilesettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r--actions/profilesettings.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/actions/profilesettings.php b/actions/profilesettings.php
index 0226e1dd4..8f55a4718 100644
--- a/actions/profilesettings.php
+++ b/actions/profilesettings.php
@@ -472,6 +472,13 @@ class ProfilesettingsAction extends AccountSettingsAction
_('Delete account'));
$this->elementEnd('li');
}
+ if ($user->hasRight(Right::RESTOREACCOUNT)) {
+ $this->elementStart('li');
+ $this->element('a',
+ array('href' => common_local_url('restoreaccount')),
+ _('Restore account'));
+ $this->elementEnd('li');
+ }
$this->elementEnd('div');
}
}