Commit efc0e9e226d652185abcd681107ab46e28625544
1 parent
56df7c41
user registration
Showing
1 changed file
with
0 additions
and
3 deletions
Show diff stats
app/library/App/Controllers/UserController.php
| @@ -69,9 +69,6 @@ class UserController extends CrudResourceController | @@ -69,9 +69,6 @@ class UserController extends CrudResourceController | ||
| 69 | return $this->onCreateFailed($item, $data); | 69 | return $this->onCreateFailed($item, $data); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | - | ||
| 73 | - return $data; | ||
| 74 | - | ||
| 75 | $primaryKey = $this->getModelPrimaryKey(); | 72 | $primaryKey = $this->getModelPrimaryKey(); |
| 76 | $responseData = $this->getFindData($newItem->$primaryKey); | 73 | $responseData = $this->getFindData($newItem->$primaryKey); |
| 77 | 74 |