diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-05-02 10:59:21 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-05-02 10:59:21 +0200 |
| commit | 2c68df0ab43cb42e6762d7a1929471bf3f3df920 (patch) | |
| tree | 6b50e22be60152c7d6218d791076fe4a4457bd4e /addons/website_forum/controllers/main.py | |
| parent | b1530265e4b5ef6dc67919154f6827ff36f6aae3 (diff) | |
| parent | 82c901c93797b15ab33b5e784450e147c1bc3ba8 (diff) | |
[MERGE] forward port branch 11.0 up to 82c901c9379
Diffstat (limited to 'addons/website_forum/controllers/main.py')
| -rw-r--r-- | addons/website_forum/controllers/main.py | 8 |
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 = { |
