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/functions_plugins.inc.php

    r19703 r25018  
    4040  else if (isset($page['errors']))
    4141  {
    42     array_push($page['errors'], 'PLUGIN ERROR: "'.$file.'" is not a valid file');
     42    $page['errors'][] = 'PLUGIN ERROR: "'.$file.'" is not a valid file';
    4343  }
    4444  return $url;
Note: See TracChangeset for help on using the changeset viewer.