Skip to content

Commit ec5fb9c

Browse files
committed
See #202: Consider removing the _format_ factory
1 parent 9689f06 commit ec5fb9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

application/libraries/REST_Controller.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ public function response($data = array(), $http_code = null)
462462

463463
is_numeric($http_code) OR $http_code = 200;
464464

465+
// @deprecated the following statement can be deleted.
465466
// If the format method exists, call and return the output in that format
466467
if (method_exists($this, '_format_'.$this->response->format))
467468
{

0 commit comments

Comments
 (0)