- π³πΏNew Zealand quietone
I have taken a look at this today and the two functions are have more differences than suggested in #5. One refers to 'Files were added' and the other is 'Update was'. The if block conditions are a bit different as well. Also, the text will be translated so variables aren't helpful here.
Altogether, I don't think combining them will help readability of maintainability.
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/updat...
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/updat...I am going to mark this a won't fix. I trust if dww or anyone disagrees they will leave a comment.