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.
Working on documentation for l10n_update.check.inc I found code which will only work in PHP 5. We could or rewrite the code adding '&' to the parameters or add a minimum php definition in the l10n_update.info file. The attached patch does this.
Function definition:
function l10n_update_source_check_download($source) {
Function call:
if (l10n_update_source_check_download($check)) {
$remote = $check;
}
More object used by reference in: l10n_update_source_check_file(), l10n_update_source_update(), l10n_update_source_import(), l10n_update_source_history(). And perhaps many more.
Comment | File | Size | Author |
---|---|---|---|
l10n_update-php5-0.patch | 568 bytes | Sutharsan | |
Comments
Comment #1
Sutharsan CreditAttribution: Sutharsan commentedPatch committed.