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/plugins/LocalFilesEditor/include/css.inc.php

    r20714 r25018  
    6565foreach ($db_themes as $db_theme)
    6666{
    67   array_push($db_theme_ids, $db_theme['id']);
     67  $db_theme_ids[] = $db_theme['id'];
    6868}
    6969
     
    8686    else
    8787    {
    88       array_push($active_themes, $fs_theme);
     88      $active_themes[] = $fs_theme;
    8989    }
    9090  }
    9191  else
    9292  {
    93     array_push($inactive_themes, $fs_theme);
     93    $inactive_themes[] = $fs_theme;
    9494  }
    9595}
Note: See TracChangeset for help on using the changeset viewer.