X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FHTTPException%2FMethodNotAllowed.php;h=4a060c3599e31ddac59249683bab61fda3325621;hb=8b02c285472ea28002cf9c8924e2885dd207ccd8;hp=07aab537a869d3faf1994db31ae826d9cbae9007;hpb=489cd0884ade34932fee45f136f77949bb3e3f91;p=friendica.git diff --git a/src/Module/HTTPException/MethodNotAllowed.php b/src/Module/HTTPException/MethodNotAllowed.php index 07aab537a8..4a060c3599 100644 --- a/src/Module/HTTPException/MethodNotAllowed.php +++ b/src/Module/HTTPException/MethodNotAllowed.php @@ -1,6 +1,6 @@ t('Method Not Allowed.')); + throw new HTTPException\MethodNotAllowedException($this->t('Method Not Allowed.')); } }