diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-04-20 10:30:16 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-04-20 10:30:16 +0200 |
commit | a98b8193667f7858730a1388aed1a9d306a236a8 (patch) | |
tree | c86f388e19b1e7b9557b2ab8306ff7d9ecf462cc /lib/public/response.php | |
parent | f672e120fc7423aacca2f2ae285eb202974646a6 (diff) | |
download | nextcloud-server-a98b8193667f7858730a1388aed1a9d306a236a8.tar.gz nextcloud-server-a98b8193667f7858730a1388aed1a9d306a236a8.zip |
Add version to deprecation notice
As requested by @MorrisJobke
Diffstat (limited to 'lib/public/response.php')
-rw-r--r-- | lib/public/response.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/response.php b/lib/public/response.php index ac27f3e0e6e..42220e4cf9c 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 ); |