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/updates_ext.php

    r10596 r25018  
    3333if (!$autoupdate->get_server_extensions())
    3434{
    35   array_push($page['errors'], l10n('Can\'t connect to server.'));
    36   return;
     35  $page['errors'][] = l10n('Can\'t connect to server.');
     36  return; // TODO: remove this return and add a proper "page killer"
    3737}
    3838
Note: See TracChangeset for help on using the changeset viewer.