diff options
author | Evan Prodromou <evan@status.net> | 2010-12-17 18:56:48 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-12-17 18:56:48 -0500 |
commit | 573bbeced10f06951db8875db8b4f9f0d0deca41 (patch) | |
tree | 6d0d1b43567f278ad7cf961bf918690c727a0854 /actions/profilesettings.php | |
parent | 1d6091cad20c0d5a7a31263032431ac13854a5b8 (diff) |
action to restore a user's backup from the Web interface
Diffstat (limited to 'actions/profilesettings.php')
-rw-r--r-- | actions/profilesettings.php | 7 |
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'); } } |