Closed argiepiano closed 4 months ago
The drupal issue opening explanation may help in understanding this fix:
With modern PHP there's no need to track which files are loaded, just use include_once() when needed and the rest will be taken care of.
@cellear I would like to merge this PR that has been sitting here for 3 months. I've tested without any issues. Let me know if you can test, and I'll wait a bit for you to do so.
Let me see if I can find the time this weekend to make an attempt at that.
Thanks! Testing should be simple. There is actually no bug, rather a "task" that was ported from D7. So the idea is to install BAM and patch it on a site, then try to create as many types of backups as possible.
backup_migrate_include() seems to cause some issues in some instances when it appears in update hooks (see #160).
In Drupal 7, this function was completely removed. We should do the same. See https://www.drupal.org/project/backup_migrate/issues/3154166