]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add version to deprecation notice
authorLukas Reschke <lukas@owncloud.com>
Mon, 20 Apr 2015 08:30:16 +0000 (10:30 +0200)
committerLukas Reschke <lukas@owncloud.com>
Mon, 20 Apr 2015 08:30:16 +0000 (10:30 +0200)
As requested by @MorrisJobke

lib/private/response.php
lib/public/response.php

index b75f11e364af95227973954abd7615f0eb7ab5bd..5725af2b8939f776640690a202103d84020a3c03 100644 (file)
@@ -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');
index ac27f3e0e6e36f67a9c268c6f35f42c19cc1d3e3..42220e4cf9c98beb2a8c4ccd066300c5120c1e4f 100644 (file)
@@ -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 );