Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Re: A comment from @Wim Leers after #2005546: Use branding block in place of page template branding variables (site name, slogan, site logo) went in:
+++ b/core/modules/system/system.install
@@ -1462,7 +1463,78 @@ function system_update_8005() {
+ 'settings.cache.max_age' => 0,
"This line sadly means that any D8 site that already existed will get a branding block (yay!) that is marked to not ever be cached (boo!).
This line simply does not belong here. So… it looks like we need a new update function that takes the site branding block and removes this setting"
Proposed resolution
Remove the offending line.
Remaining tasks
Generate a patch
Comments
Comment #2
dcrocks CreditAttribution: dcrocks as a volunteer commentedWell, somebody already did this in another patch. Sorry for the noise.