summaryrefslogtreecommitdiff
path: root/addons/website_forum/controllers
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2019-06-14 08:45:04 +0000
committerSébastien Theys <seb@odoo.com>2019-06-14 12:17:35 +0000
commit9bdecc7b6158490796d670d04873ae89eb9ae4f3 (patch)
treef87f12c1591d8668f46a04a0761ade68fa80c066 /addons/website_forum/controllers
parentcecb3db386836fd48c3a124a1c9910438aa5048b (diff)
[IMP] product, *: remove deprecated fields and methods
* = mrp, sale, website_forum, website_sale, website_sale_comparison closes odoo/odoo#34121 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website_forum/controllers')
-rw-r--r--addons/website_forum/controllers/main.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/addons/website_forum/controllers/main.py b/addons/website_forum/controllers/main.py
index bd62e519338..86ce6993a90 100644
--- a/addons/website_forum/controllers/main.py
+++ b/addons/website_forum/controllers/main.py
@@ -36,24 +36,6 @@ class WebsiteForum(WebsiteProfile):
values['forum'] = request.env['forum.forum'].browse(kwargs.pop('forum_id'))
return values
- # User and validation
- # --------------------------------------------------
- # TODO DBE : Those 3 are deprecated. To remove in v13.
- @http.route('/forum/send_validation_email', type='json', auth='user', website=True)
- def send_forum_validation_email(self, forum_id=None, **kwargs):
- _logger.warning("The method send_forum_validation_email() is deprecated and should be removed in v13.")
- return self.send_forum_validation_email(forum_id=forum_id, **kwargs)
-
- @http.route('/forum/validate_email', type='http', auth='public', website=True, sitemap=False)
- def forum_validate_email(self, token, user_id, email, forum_id=None, **kwargs):
- _logger.warning("The method forum_validate_email() is deprecated and should be removed in v13.")
- return self.forum_validate_email(token=token, user_id=user_id, email=email, forum_id=forum_id, **kwargs)
-
- @http.route('/forum/validate_email/close', type='json', auth='public', website=True)
- def forum_validate_email_done(self, **kwargs):
- _logger.warning("The method forum_validate_email_done() is deprecated and should be removed in v13.")
- return self.validate_email_done(**kwargs)
-
# Forum
# --------------------------------------------------