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/include/plugins.class.php

    r24159 r25018  
    400400          $server_plugins[$plugin['extension_id']] = array();
    401401        }
    402         array_push($server_plugins[$plugin['extension_id']], $plugin['revision_name']);
     402        $server_plugins[$plugin['extension_id']][] = $plugin['revision_name'];
    403403      }
    404404
     
    504504                and !empty($old_files))
    505505              {
    506                 array_push($old_files, 'obsolete.list');
     506                $old_files[] = 'obsolete.list';
    507507                foreach($old_files as $old_file)
    508508                {
Note: See TracChangeset for help on using the changeset viewer.