allura
Revisión | fcca35b318e846a33cf1a12196e2a64b67ac9b29 (tree) |
---|---|
Tiempo | 2012-07-17 19:21:45 |
Autor | Igor Bondarenko <jetmind2@gmai...> |
Commiter | Igor Bondarenko |
[#4529] ticket:121 remove sidebar_menu from UserProfileApp
@@ -1,14 +1,13 @@ | ||
1 | 1 | import logging |
2 | 2 | from pprint import pformat |
3 | 3 | |
4 | -from activitystream import director | |
5 | 4 | import pkg_resources |
6 | 5 | from pylons import c, request |
7 | 6 | from formencode import validators |
8 | -from tg import expose, flash, redirect, validate, response | |
7 | +from tg import expose, redirect, validate, response | |
9 | 8 | |
10 | 9 | from allura import version |
11 | -from allura.app import Application, WidgetController, SitemapEntry | |
10 | +from allura.app import Application, WidgetController | |
12 | 11 | from allura.lib import helpers as h |
13 | 12 | from allura.lib.helpers import DateTimeConverter |
14 | 13 | from allura.ext.project_home import model as M |
@@ -48,10 +47,6 @@ class UserProfileApp(Application): | ||
48 | 47 | def sitemap(self): |
49 | 48 | return [] |
50 | 49 | |
51 | - @h.exceptionless([], log) | |
52 | - def sidebar_menu(self): | |
53 | - return [ SitemapEntry('Preferences', '/auth/prefs/')] | |
54 | - | |
55 | 50 | def admin_menu(self): |
56 | 51 | return [] |
57 | 52 |