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

    r24966 r25018  
    294294      if (!empty($admin['mail_address']))
    295295      {
    296         array_push($admins, format_email($admin['username'], $admin['mail_address']));
     296        $admins[] = format_email($admin['username'], $admin['mail_address']);
    297297      }
    298298    }
     
    420420          if (!empty($row['mail_address']))
    421421          {
    422             array_push($Bcc, format_email(stripslashes($row['username']), $row['mail_address']));
     422            $Bcc[] = format_email(stripslashes($row['username']), $row['mail_address']);
    423423          }
    424424        }
Note: See TracChangeset for help on using the changeset viewer.