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/calendar_weekly.class.php

    r25005 r25018  
    6969      $this->calendar_levels[CWEEK]['sql'] = pwg_db_get_week($this->date_field, 5).'+1';
    7070      $this->calendar_levels[CDAY]['sql'] = pwg_db_get_weekday($this->date_field);
    71       array_push( $this->calendar_levels[CDAY]['labels'],
    72                   array_shift( $this->calendar_levels[CDAY]['labels'] ) );
     71      $this->calendar_levels[CDAY]['labels'][] = array_shift($this->calendar_levels[CDAY]['labels']);
    7372    }
    7473  }
Note: See TracChangeset for help on using the changeset viewer.