Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$this->cache->delete('*'); does not work in admin\controller\tool\backup.php #9739

Closed
sabeti05 opened this issue Jul 1, 2021 · 1 comment
Labels
3.0.x.x Affects the 3.0.x.x maintenance version

Comments

@sabeti05
Copy link
Contributor

sabeti05 commented Jul 1, 2021

What version of OpenCart are you reporting this for?
3.0.3.7

Describe the bug
This line of code appears to have been written to clear cache files after the import operation, but it does not work in practice and does not delete cache files.

To Reproduce

  1. check the storage / cache folder there should be some files there, Like: cache.currency.1624262004 cache.store.1624263666

  2. In the admin panel / system / maintenance / Backup & Restore / restore tab, Upload an SQL file.

  3. check the storage / cache folder, All the cache files are still there.

Expected behavior
Cache files should be removed.

harman-jack added a commit to harman-jack/opencart that referenced this issue Jul 3, 2021
@WebkulOpencart WebkulOpencart added the 3.0.x.x Affects the 3.0.x.x maintenance version label Jul 6, 2021
Opencart-Webkul pushed a commit that referenced this issue Oct 22, 2021
@Opencart-Webkul
Copy link
Collaborator

#10248 PR merged.

ADDCreative added a commit to opencart-ce/opencart-ce that referenced this issue Apr 13, 2022
ADDCreative added a commit to opencart-ce/opencart-ce that referenced this issue Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0.x.x Affects the 3.0.x.x maintenance version
Projects
None yet
Development

No branches or pull requests

3 participants