myspace: remove link to admin/ (#6726)

This commit is contained in:
Frédéric Péters 2015-04-22 11:33:58 +02:00
parent 22aa4baf66
commit 95be42a974
1 changed files with 0 additions and 2 deletions

View File

@ -63,8 +63,6 @@ class MyspaceDirectory(Directory):
root_url = get_publisher().get_root_url()
r += htmltext('<p id="profile-links">')
r += htmltext('<a href="%sbackoffice/">%s</a>') % (root_url, _('back office'))
if user.can_go_in_admin():
r += htmltext(' - <a href="%sadmin/">%s</a>') % (root_url, _('admin'))
r += htmltext('</p>')
ident_methods = get_cfg('identification', {}).get('methods', ['idp']) or []