Commit 1af46189 authored by webchick's avatar webchick

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

parent 74198b66
......@@ -360,6 +360,7 @@ function update_fix_d7_block_deltas(&$sandbox, $renamed_deltas, $moved_deltas) {
$result = db_select('users', 'u')
->fields('u', array('uid', 'data'))
->condition('uid', $sandbox['last_user_processed'], '>')
->orderBy('uid', 'ASC')
->where('data IS NOT NULL')
->range(0, $limit)
->execute();
......
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