Remove unused variables and merge correct ones.

This commit is contained in:
Gerhard Potgieter 2018-04-18 16:10:37 +02:00
parent a15687470d
commit 3f785d8964
1 changed files with 1 additions and 3 deletions

View File

@ -318,13 +318,11 @@ class WC_Tracker {
* @return array
*/
private static function get_orders() {
$orders = array();
$orders_dates = self::get_order_dates();
$order_counts = self::get_order_counts();
$order_totals = self::get_order_totals();
return array_merge( $orders, $order_counts, $order_totals );
return array_merge( $orders_dates, $order_counts, $order_totals );
}
/**