Remove an obsolete reference to a previous status code
authorAlexander Ebert <ebert@woltlab.com>
Thu, 27 Apr 2023 17:21:27 +0000 (19:21 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 27 Apr 2023 17:21:27 +0000 (19:21 +0200)
Closes #4388

wcfsetup/install/files/lib/system/exception/AJAXException.class.php

index fd13a925a77e7b7848ba3c504a575cf84d88e9f3..a555ad43cbdf72ec74ee00759b75a977ab689666 100644 (file)
@@ -144,8 +144,6 @@ class AJAXException extends LoggedException
                 break;
 
             case self::BAD_PARAMETERS:
-                // see https://github.com/WoltLab/WCF/issues/2378
-                //$statusHeader = 'HTTP/1.1 431 Bad Parameters';
                 $statusHeader = 'HTTP/1.1 400 Bad Request';
 
                 $responseData['exceptionID'] = $exceptionID;