Permalink
Browse files

Removed no longer used method

- Removed processPutData() as it is no longer necessary, nor used. Since
  this was only introduced for 2.1, it's safe to remove at this time.
  • Loading branch information...
1 parent 7ee4e60 commit f4b3d73d3b79cc9ef761debfb54a6ba158495a8e @weierophinney weierophinney committed Jan 18, 2013
Showing with 0 additions and 19 deletions.
  1. +0 −19 library/Zend/Mvc/Controller/AbstractRestfulController.php
@@ -358,25 +358,6 @@ public function processPostData(Request $request)
}
/**
- * Process put data and call update
- *
- * @param Request $request
- * @param $routeMatch
- * @return mixed
- */
- public function processPutData(Request $request, $routeMatch)
- {
- $id = $this->getIdentifier($routeMatch, $request);
- $data = $this->processBodyContent($request);
-
- if (!$id) {
- return $this->replaceList($data);
- }
-
- return $this->update($id, $data);
- }
-
- /**
* Check if request has certain content type
*
* @return boolean

1 comment on commit f4b3d73

@davidwindell
Contributor

Ping @weierophinney this is a BC break, we've been extending this method since way before 2.1.

Please sign in to comment.