Open jenlampton opened 1 week ago
I also just noticed that my Drupal site did not have the cache_spambot
table, so I'm adding an implementation of hook_update_last_removed()
to this PR, just to make sure everyone (ahem, me!) is on the proper version before upgrading.
On second thought... that update was only included in the -dev version of spambot for Drupal. So instead of requiring that people update from the latest stable version to -dev before moving to Backdrop, I'm just going to duplicate that update into the upgrade path to Backdrop.
When upgrading from Drupal 7 I get the following error:
There are a lot of constants being used in the update hook that are defined in the
.module
file, and this file is not present during updates. The recommend approach is to use the defined values in the update, rather than the constants.PR on the way.