Part of meta-issue #2002650: [meta] improve maintainability by removing unused local variables

File /core/modules/system/system.install

Line 22: Unused local variable $base_url

#1 2080071-remove-unused-local-variable-1.patch375 bytesrhm5000
PASSED: [[SimpleTest]]: [MySQL] 58,478 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


rhm5000’s picture

Status: Active » Needs review
375 bytes
PASSED: [[SimpleTest]]: [MySQL] 58,478 pass(es). View
jpd4nt’s picture

Status: Needs review » Reviewed & tested by the community

The global $base_url was introduced in #296321: link to cron.php broken when clean urls are disabled and its use was removed #1551626: Convert cron.php into a regular menu router page callback so this patch looks fine

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 82b964b and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.