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.
The D7 codebase could use a bit of a cleanup.
Comment | File | Size | Author |
---|---|---|---|
#10 | backup_migrate-n3158379-10.patch | 536 bytes | DamienMcKenna |
#6 | backup_migrate-n3158379-6.patch | 74.37 KB | DamienMcKenna |
| |||
#3 | backup_migrate-n3158379-3.patch | 74.33 KB | DamienMcKenna |
#2 | backup_migrate-n3158379-2.patch | 62.36 KB | DamienMcKenna |
Comments
Comment #2
DamienMcKennaWIP, needs a little more work.
Comment #3
DamienMcKennaFurther improvements.
Comment #4
DamienMcKennaComment #6
DamienMcKennaAh, small typoo after renaming a variable.
Comment #8
DamienMcKennaCommitted. This isn't all of the possible improvements, but it's a good bunch.
Comment #9
monnerat CreditAttribution: monnerat commentedThis fails with PHP 5.5 after upgrading to 7.x-3.8:
Parse error: syntax error, unexpected '*', expecting ',' or ';' in .../drupal/modules/backup_migrate/includes/destinations.inc on line 804
Replacing
public $cache_expire = 24 * 60 * 60;
by
public $cache_expire = 86400;
fixes the problem.
Comment #10
DamienMcKennaDarnit. Sorry.
I've changed one of the automated tests to check PHP 5.5 instead of 5.6.
This patch should fix it for you.
Comment #11
DamienMcKennaComment #13
DamienMcKennaCommitted.
Comment #14
DamienMcKennaI've released 7.x-3.9 with this fix.
BTW I opened a new issue to fix compatibility with PHP 5.4: #3159270
Comment #15
monnerat CreditAttribution: monnerat commented7.x-3.9 works for me on PHP 5.5.
Thanks for fix.