From a8f746d1bd4d4683fd0f171a2fa2391422fd828a Mon Sep 17 00:00:00 2001 From: Grisha Pomadchin Date: Tue, 28 Jan 2014 17:46:27 +0400 Subject: [PATCH] fix orderHistory init time; --- intaro.intarocrm/classes/general/ICrmOrderActions.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index d499a58f..a0ada56b 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -373,15 +373,10 @@ class ICrmOrderActions $orderHistory = $api->orderHistory($dateStart); - echo $dateStart; - echo '
'; - $dateStart = new \DateTime($dateStart); echo json_encode($orderHistory); - self::eventLog('ICrmOrderActions::orderHistory', 'history_log', json_encode($orderHistory)); - // pushing existing orders foreach ($orderHistory as $order) {