From e5bafe046777799c0156f54f6d07fb6d8b24c5e0 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 5 Jan 2009 03:11:08 +0000 Subject: [PATCH] MINOR Updated correct HTTPRequest class for @deprecated notice on HTTP::sendFileToBrowser() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@69686 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/HTTP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);