diff --git a/classes/modules/RetailCRM/classes/retailcrm/RetailcrmHelpers.php b/classes/modules/RetailCRM/classes/retailcrm/RetailcrmHelpers.php deleted file mode 100644 index aad9620..0000000 --- a/classes/modules/RetailCRM/classes/retailcrm/RetailcrmHelpers.php +++ /dev/null @@ -1,41 +0,0 @@ - ', $mapItem); - $map[$mapItem[0]] = $mapItem[1]; - } - - return $map; - } - - /** - * @param $map array - * @param $item string - * @param $reversed bool - * @return string|null - */ - public function getRelationByMap($map, $item, $reversed = false) { - if(!$reversed) { - if(isset($map[$item]) && !empty($map[$item])) - return $map[$item]; - else - return null; - } else { - foreach ($map as $umiStatusOrder => $crmStatusOrder) { - if($crmStatusOrder == $item) - return $umiStatusOrder; - } - return null; - } - } -} \ No newline at end of file