summaryrefslogtreecommitdiff
path: root/addons/website_forum/controllers
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2019-02-13 12:38:26 +0000
committerDavid Beguin <dbe@odoo.com>2019-02-14 09:24:10 +0000
commitec212de5c7a7b0f4b74549add62a2988f5b38ee6 (patch)
tree138b0f195bd0be035c7435b3ede9fdceb0036b26 /addons/website_forum/controllers
parenta4a0436ddd51a84e35fa68a13833886ffbb63174 (diff)
[IMP] gamification,forum: remove deprecated alert when sending badge
Since 56645335b7bae0415242ec51193e493119a58879, when a user get a badge, an email is sent. The subtype is not used anymore, so the alert mecanism in forum to display a message to the user to show him his new badges can not work. This commit removes this dead code. Task-1922159
Diffstat (limited to 'addons/website_forum/controllers')
-rw-r--r--addons/website_forum/controllers/main.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/website_forum/controllers/main.py b/addons/website_forum/controllers/main.py
index ea85c1de782..c4c1be80ff7 100644
--- a/addons/website_forum/controllers/main.py
+++ b/addons/website_forum/controllers/main.py
@@ -560,7 +560,6 @@ class WebsiteForum(WebsiteProfile):
values .update({
'users': users,
'main_object': forum,
- 'notifications': self._get_badge_granted_messages(),
'pager': pager,
})