[Pkg-owncloud-commits] [owncloud] 94/165: Add version to deprecation notice

David Prévot taffit at moszumanska.debian.org
Thu Apr 23 04:06:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit a98b8193667f7858730a1388aed1a9d306a236a8
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Mon Apr 20 10:30:16 2015 +0200

    Add version to deprecation notice
    
    As requested by @MorrisJobke
---
 lib/private/response.php | 2 +-
 lib/public/response.php  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/private/response.php b/lib/private/response.php
index b75f11e..5725af2 100644
--- a/lib/private/response.php
+++ b/lib/private/response.php
@@ -214,7 +214,7 @@ class OC_Response {
 	/**
 	 * Send file as response, checking and setting caching headers
 	 * @param string $filepath of file to send
-	 * @deprecated Use \OCP\AppFramework\Http\StreamResponse or another AppFramework controller instead
+	 * @deprecated 8.1.0 - Use \OCP\AppFramework\Http\StreamResponse or another AppFramework controller instead
 	 */
 	static public function sendFile($filepath) {
 		$fp = fopen($filepath, 'rb');
diff --git a/lib/public/response.php b/lib/public/response.php
index ac27f3e..42220e4 100644
--- a/lib/public/response.php
+++ b/lib/public/response.php
@@ -37,7 +37,7 @@ namespace OCP;
 /**
  * This class provides convenient functions to send the correct http response headers
  * @since 4.0.0
- * @deprecated Use AppFramework controllers instead and modify the response object
+ * @deprecated 8.1.0 - Use AppFramework controllers instead and modify the response object
  */
 class Response {
 	/**
@@ -104,7 +104,7 @@ class Response {
 	 * Send file as response, checking and setting caching headers
 	 * @param string $filepath of file to send
 	 * @since 4.0.0
-	 * @deprecated Use \OCP\AppFramework\Http\StreamResponse or another AppFramework controller instead
+	 * @deprecated 8.1.0 - Use \OCP\AppFramework\Http\StreamResponse or another AppFramework controller instead
 	 */
 	static public function sendFile( $filepath ) {
 		\OC_Response::sendFile( $filepath );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list