Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $batch = array(
- 'title' => t('Importing data'),
- 'operations' => array(),
- 'finished' => '_banjia_done',
- );
- // $state_user = banjia_user_batch_wrap($batch);
- $state_node_part_1 = banjia_fin_migrate_do_node_step1($batch);
- $c = 0;
- $d = 0;
- $g = 0;
- foreach ($batch['operations'] as $key => $value) {
- if ($value[1][2]) {
- $c++;
- $f = count($value[1][4]);
- if ($f > $d) {
- $d = $f;
- $g = $key;
- }
- }
- }
- dsm($d, 'total with namecheck');
- dsm($batch['operations'][$g]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement