Unverified Commit 19071a45 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3066439 follow-up by alexpott: Stop invoking pre-save methods in...

Issue #3066439 follow-up by alexpott: Stop invoking pre-save methods in EntityStorageInterface::restore()
parent 347dbb0e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -227,7 +227,8 @@ function taxonomy_update_8702(&$sandbox) {
      ->condition('tdf.default_langcode', 1);

    if (!isset($sandbox['max'])) {
      $sandbox['max'] = (clone $select)->countQuery()->execute()->fetchField();
      $count_query = clone $select;
      $sandbox['max'] = $count_query->countQuery()->execute()->fetchField();
      $sandbox['current'] = 0;
    }