Skip to content
Snippets Groups Projects
Commit 1af46189 authored by Angie Byron's avatar Angie Byron
Browse files

#922370 by ksenzee: Fixed system_update_7004() goes into an infinite loop (beta blocker).

parent 74198b66
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -360,6 +360,7 @@ function update_fix_d7_block_deltas(&$sandbox, $renamed_deltas, $moved_deltas) { ...@@ -360,6 +360,7 @@ function update_fix_d7_block_deltas(&$sandbox, $renamed_deltas, $moved_deltas) {
$result = db_select('users', 'u') $result = db_select('users', 'u')
->fields('u', array('uid', 'data')) ->fields('u', array('uid', 'data'))
->condition('uid', $sandbox['last_user_processed'], '>') ->condition('uid', $sandbox['last_user_processed'], '>')
->orderBy('uid', 'ASC')
->where('data IS NOT NULL') ->where('data IS NOT NULL')
->range(0, $limit) ->range(0, $limit)
->execute(); ->execute();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment