summaryrefslogtreecommitdiff
path: root/addons/website_forum/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_forum/controllers/main.py')
-rw-r--r--addons/website_forum/controllers/main.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/addons/website_forum/controllers/main.py b/addons/website_forum/controllers/main.py
index 4e493e5017e..cb01ebfd6ee 100644
--- a/addons/website_forum/controllers/main.py
+++ b/addons/website_forum/controllers/main.py
@@ -22,12 +22,8 @@ class WebsiteForum(http.Controller):
_user_per_page = 30
def _get_notifications(self):
- badge_subtype = request.env.ref('gamification.mt_badge_granted')
- if badge_subtype:
- msg = request.env['mail.message'].search([('subtype_id', '=', badge_subtype.id), ('needaction', '=', True)])
- else:
- msg = list()
- return msg
+ """Deprecated"""
+ return list()
def _prepare_forum_values(self, forum=None, **kwargs):
values = {