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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
  }