Skip to content

Commit 58148ee

Browse files
committed
MAGETWO-61907: [Backport] - Updating customer via REST API without address unsets default billing and default shipping address - for 2.1
1 parent 8f9ab11 commit 58148ee

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

app/code/Magento/Customer/Model/ResourceModel/CustomerRepository.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ public function __construct(
131131
}
132132

133133
/**
134-
* Save.
135-
*
136134
* {@inheritdoc}
137135
*/
138136
public function save(\Magento\Customer\Api\Data\CustomerInterface $customer, $passwordHash = null)
@@ -207,8 +205,6 @@ public function save(\Magento\Customer\Api\Data\CustomerInterface $customer, $pa
207205
}
208206

209207
/**
210-
* Get.
211-
*
212208
* {@inheritdoc}
213209
*/
214210
public function get($email, $websiteId = null)
@@ -218,8 +214,6 @@ public function get($email, $websiteId = null)
218214
}
219215

220216
/**
221-
* Get by Id.
222-
*
223217
* {@inheritdoc}
224218
*/
225219
public function getById($customerId)
@@ -229,8 +223,6 @@ public function getById($customerId)
229223
}
230224

231225
/**
232-
* Get list.
233-
*
234226
* {@inheritdoc}
235227
*/
236228
public function getList(SearchCriteriaInterface $searchCriteria)
@@ -283,8 +275,6 @@ public function getList(SearchCriteriaInterface $searchCriteria)
283275
}
284276

285277
/**
286-
* Delete.
287-
*
288278
* {@inheritdoc}
289279
*/
290280
public function delete(\Magento\Customer\Api\Data\CustomerInterface $customer)
@@ -293,8 +283,6 @@ public function delete(\Magento\Customer\Api\Data\CustomerInterface $customer)
293283
}
294284

295285
/**
296-
* Delete by Id.
297-
*
298286
* {@inheritdoc}
299287
*/
300288
public function deleteById($customerId)

0 commit comments

Comments
 (0)