fix(kb): Fix cache not being cleared by cogk [frappe] PR#23491
From: https://github.com/frappe/frappe/pull/23491
Date: 2023-11-29 16:11:54+01:00
- chore(kb): Drop unused parameter
path
- refactor(kb): Rename clear_website_cache to clear_knowledge_base_cache
- refactor(kb): Don't call
website.utils.clear_cache
again - fix(kb): Fix cache clearing not being triggered
Diagnostics
pre-commit failed for source commit: 4b3ddf30f34e2a77b4638faf6a1eac6234dbed66
flake8...................................................................Failed
- hook id: flake8
- exit code: 1
frappe/website/doctype/help_article/help_article.py:49:3: F821 undefined name 'clear_cache'
frappe/website/doctype/help_category/help_category.py:43:3: F821 undefined name 'clear_cache'
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-23491
# Make changes then rebase
git rebase -i upstream/develop --reapply-cherry-picks
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease