Ignore:
Timestamp:
Oct 19, 2013, 7:43:04 PM (10 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/check_integrity.class.php

    r19703 r25018  
    7272    if (count($this->retrieve_list) > 0)
    7373    {
    74       $header_notes[] =
    75         l10n_dec('%d anomaly has been detected.', '%d anomalies have been detected.',
    76           count($this->retrieve_list));
     74      $header_notes[] = l10n_dec(
     75        '%d anomaly has been detected.', '%d anomalies have been detected.',
     76        count($this->retrieve_list)
     77        );
    7778    }
    7879
     
    117118      if ($corrected_count > 0)
    118119      {
    119         $page['infos'][] =
    120           l10n_dec('%d anomaly has been corrected.', '%d anomalies have been detected corrected.',
    121             $corrected_count);
     120        $page['infos'][] = l10n_dec(
     121          '%d anomaly has been corrected.', '%d anomalies have been detected corrected.',
     122          $corrected_count
     123          );
    122124      }
    123125      if ($not_corrected_count > 0)
    124126      {
    125         $page['errors'][] =
    126           l10n_dec('%d anomaly has not been corrected.', '%d anomalies have not been corrected.',
    127             $not_corrected_count);
     127        $page['errors'][] = l10n_dec(
     128          '%d anomaly has not been corrected.', '%d anomalies have not been corrected.',
     129          $not_corrected_count
     130          );
    128131      }
    129132    }
     
    146149        if ($ignored_count > 0)
    147150        {
    148           $page['infos'][] =
    149             l10n_dec('%d anomaly has been ignored.', '%d anomalies have been ignored.',
    150               $ignored_count);
     151          $page['infos'][] = l10n_dec(
     152            '%d anomaly has been ignored.', '%d anomalies have been ignored.',
     153            $ignored_count
     154            );
    151155        }
    152156      }
Note: See TracChangeset for help on using the changeset viewer.