1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-09 19:52:28 +01:00

Remove unnecessary comments

This commit is contained in:
Chaoyi Zha 2017-03-20 16:39:46 -04:00
parent 65794f83d7
commit 861665f4d7
2 changed files with 0 additions and 3 deletions

View File

@ -14,8 +14,6 @@ class ApiException extends \Exception {
* @return mixed
*/
public function __construct($text_code='SERVER_ERROR', $message, $status_code = 0, $response_type='plain_text', Exception $previous = null) {
// TODO special Polr error codes for JSON
$this->response_type = $response_type;
$this->text_code = $text_code;
parent::__construct($message, $status_code, $previous);

View File

@ -9,7 +9,6 @@ use App\Exceptions\Api\ApiException;
class ApiLinkController extends ApiController {
public function shortenLink(Request $request) {
$response_type = $request->input('response_type');
// $user = self::getApiUserInfo($request);
$user = $request->user;
// Validate parameters