Ignore:
Timestamp:
Oct 19, 2013, 7:43:04 PM (11 years ago)
Author:
mistic100
Message:

remove all array_push (50% slower than []) + some changes missing for feature:2978

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_unit.php

    r19703 r25018  
    104104    }
    105105
    106     array_push($datas, $data);
     106    $datas[] = $data;
    107107
    108108    // tags management
     
    124124    );
    125125
    126   array_push($page['infos'], l10n('Photo informations updated'));
     126  $page['infos'][] = l10n('Photo informations updated');
    127127}
    128128
     
    233233  while ($row = pwg_db_fetch_assoc($result))
    234234  {
    235     array_push($element_ids, $row['id']);
     235    $element_ids[] = $row['id'];
    236236
    237237    $src_image = new SrcImage($row);
Note: See TracChangeset for help on using the changeset viewer.