fix(config): clear the old category cache on upgrade
The old cache is only replaced when the categories are requested, so on instances that use a menu without categories the 170 KB app config value stayed and was still loaded on every request. A post-migration repair step clears it when the app is upgraded.
This commit is contained in:
@@ -55,6 +55,11 @@ In case of downtime, you can download **Custom Menu** from [here](https://kim.de
|
||||
<php min-version="8.1" max-version="8.5" />
|
||||
<nextcloud min-version="34" max-version="35"/>
|
||||
</dependencies>
|
||||
<repair-steps>
|
||||
<post-migration>
|
||||
<step>OCA\SideMenu\Migration\ClearCategoryCache</step>
|
||||
</post-migration>
|
||||
</repair-steps>
|
||||
<settings>
|
||||
<admin>OCA\SideMenu\Settings\Admin</admin>
|
||||
<admin-section>OCA\SideMenu\Settings\AdminSection</admin-section>
|
||||
|
||||
Reference in New Issue
Block a user