Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 2f9cd6c

Browse files
committed
Merge branch 'hotfix/184' into develop
Forward port #184
2 parents dc268f9 + 1223140 commit 2f9cd6c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ All notable changes to this project will be documented in this file, in reverse
3636

3737
### Fixed
3838

39-
- Nothing.
39+
- [#184](https://github.com/zendframework/zend-mvc/pull/184) provides a
40+
performance optimization for `DELETE` requests to `AbstractRestfulController`
41+
instances.
4042

4143
## 3.0.2 - 2016-06-30
4244

Diff for: src/Controller/AbstractRestfulController.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -359,14 +359,15 @@ public function onDispatch(MvcEvent $e)
359359
// DELETE
360360
case 'delete':
361361
$id = $this->getIdentifier($routeMatch, $request);
362-
$data = $this->processBodyContent($request);
363362

364363
if ($id !== false) {
365364
$action = 'delete';
366365
$return = $this->delete($id);
367366
break;
368367
}
369368

369+
$data = $this->processBodyContent($request);
370+
370371
$action = 'deleteList';
371372
$return = $this->deleteList($data);
372373
break;

0 commit comments

Comments
 (0)