1
0
mirror of synced 2024-11-25 14:56:09 +03:00

api module fix

This commit is contained in:
Grisha Pomadchin 2013-07-29 17:53:54 +04:00
parent e1776dfb46
commit 4f934aed10

View File

@ -232,8 +232,6 @@ class RestApi
public function customerUpload($customers) public function customerUpload($customers)
{ {
$dataJson = json_encode($customers); $dataJson = json_encode($customers);
$dataJson = str_replace(self::$jsonReplaceSource, self::$jsonReplaceTarget,
$dataJson);
$this->parameters['customers'] = $dataJson; $this->parameters['customers'] = $dataJson;
$url = $this->apiUrl.'customers/upload'; $url = $this->apiUrl.'customers/upload';