diff --git a/core/HTTP.php b/core/HTTP.php index f63965eac..10ef477f0 100644 --- a/core/HTTP.php +++ b/core/HTTP.php @@ -136,7 +136,7 @@ class HTTP { * Outputs appropriate header for downloading a file * exits() after the call, so that no further output is given. * - * @deprecated 2.3 Return a HTTPResponse::send_file() object instead + * @deprecated 2.3 Return a HTTPRequest::send_file() object instead */ static function sendFileToBrowser($fileData, $fileName, $mimeType = false) { user_error("HTTP::sendFileToBrowser() deprecated; return a HTTPRequest::send_file() object instead", E_USER_NOTICE);