Remove code parameter from HTTPException constructor

- Remove duplicate HTTPException->httpcode class variable
This commit is contained in:
Hypolite Petovan 2019-05-01 21:24:51 -04:00
parent 07cb887885
commit 8eba329111
24 changed files with 60 additions and 29 deletions

View file

@ -6,6 +6,6 @@ use Friendica\Network\HTTPException;
class ImATeapotException extends HTTPException
{
var $httpcode = 418;
protected $code = 418;
var $httpdesc = "I'm A Teapot";
}