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:
parent
65794f83d7
commit
861665f4d7
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user