allura
修訂 | b97f695a70d2de5071ce919b8016354c0fda0b00 (tree) |
---|---|
時間 | 2012-07-18 23:45:48 |
作者 | Igor Bondarenko <jetmind2@gmai...> |
Commiter | Dave Brondsema |
[#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 |