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.
Problem/Motivation
In core/modules/locale/locale.module, $frequency
variable never used.
Comment | File | Size | Author |
---|---|---|---|
#2 | frequency_unused.png | 457.69 KB | shetpooja04 |
#2 | 3167599-2.patch | 797 bytes | shetpooja04 |
Comments
Comment #2
shetpooja04 CreditAttribution: shetpooja04 at QED42 commentedCommit ID: c1f21810
Link: https://git.drupalcode.org/project/drupal/-/commit/c1f21810359878431af59e3156f81bec8a84de4f
For Issue: https://www.drupal.org/project/drupal/issues/1998056 the changes were made
File: core/modules/locale/locale.module
$frequency is never getting used.
Comment #3
jijojoseph_zyxware CreditAttribution: jijojoseph_zyxware as a volunteer and at Zyxware Technologies commentedThanks for researching this, I agree with your findings that we don't need this variable $frequency.
Patch applied cleanly.
RTBC!!!
Comment #5
catchDouble checked that the interval is used later, and it's in https://api.drupal.org/api/drupal/core%21modules%21locale%21locale.trans...
Committed c7558c4 and pushed to 9.1.x. Thanks!