From 7258c82a46713f404df5cf1bdfa0e29975011fcf Mon Sep 17 00:00:00 2001
From: Romain Derie <rde@odoo.com>
Date: Fri, 9 Sep 2022 16:04:11 +0000
Subject: [PATCH] [FIX] website: remove confusing comment

The comment was introduced alongside its related line with [1].
The line was removed with [2] but its comment was not, leading to
confusion now.
Instead of removing it in master, might as well remove the confusion in
lower version..

[1]: https://github.com/odoo/odoo/commit/3542a27f9c4c44472184bbedc348ad646d46f20a
[2]: https://github.com/odoo/odoo/commit/0effbe3ca628460b9a0c257ea0bd6060c3eeb253

closes odoo/odoo#99963

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
---
 addons/website/models/website.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/addons/website/models/website.py b/addons/website/models/website.py
index 121399bf1c30..a56e8a7072a3 100644
--- a/addons/website/models/website.py
+++ b/addons/website/models/website.py
@@ -724,7 +724,6 @@ class Website(models.Model):
         """
 
         router = http.root.get_db_router(request.db)
-        # Force enumeration to be performed as public user
         url_set = set()
 
         sitemap_endpoint_done = set()
-- 
GitLab