Commit c7558c41 authored by catch's avatar catch
Browse files

Issue #3167599 by shetpooja04, jijojoseph_zyxware: Unused variable $frequency...

Issue #3167599 by shetpooja04, jijojoseph_zyxware: Unused variable $frequency in locale module, locale.module
parent 9b874dfc
......@@ -358,7 +358,7 @@ function locale_cron() {
// Update translations only when an update frequency was set by the admin
// and a translatable language was set.
// Update tasks are added to the queue here but processed by Drupal's cron.
if ($frequency = \Drupal::config('locale.settings')->get('translation.update_interval_days') && locale_translatable_language_list()) {
if (\Drupal::config('locale.settings')->get('translation.update_interval_days') && locale_translatable_language_list()) {
module_load_include('translation.inc', 'locale');
locale_cron_fill_queue();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment