Commit cbad3aa7 authored by Azz-eddine BERRAMOU's avatar Azz-eddine BERRAMOU Committed by Marcos Cano
Browse files

Issue #3252873 by berramou, hmendes, marcoscano: $to_track variable declared twice

parent 3cf10c8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ class EntityUsageBatchManager implements ContainerInjectionInterface {
   */
  public function generateBatch() {
    $operations = [];
    $to_track = $to_track = $this->config->get('track_enabled_source_entity_types');
    $to_track = $this->config->get('track_enabled_source_entity_types');
    foreach ($this->entityTypeManager->getDefinitions() as $entity_type_id => $entity_type) {
      // Only look for entities enabled for tracking on the settings form.
      $track_this_entity_type = FALSE;