aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/response.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-26 12:15:09 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-06-26 16:14:15 +0200
commitb0a296e2e1dd1b173d9cab8c82158ac6bfb86f9e (patch)
treebfcea01e9ff2d5a3cfc7580a5b1c719d68fcdd6a /lib/private/legacy/response.php
parent79d9841bce94c0e9abf5e53c845236296a8999de (diff)
downloadnextcloud-server-b0a296e2e1dd1b173d9cab8c82158ac6bfb86f9e.tar.gz
nextcloud-server-b0a296e2e1dd1b173d9cab8c82158ac6bfb86f9e.zip
Do not use HTTP code OC_Response constants anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/legacy/response.php')
-rw-r--r--lib/private/legacy/response.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/private/legacy/response.php b/lib/private/legacy/response.php
index 2fc7b934d86..93023f61e99 100644
--- a/lib/private/legacy/response.php
+++ b/lib/private/legacy/response.php
@@ -31,15 +31,6 @@
*/
class OC_Response {
- const STATUS_FOUND = 302;
- const STATUS_NOT_MODIFIED = 304;
- const STATUS_TEMPORARY_REDIRECT = 307;
- const STATUS_BAD_REQUEST = 400;
- const STATUS_FORBIDDEN = 403;
- const STATUS_NOT_FOUND = 404;
- const STATUS_INTERNAL_SERVER_ERROR = 500;
- const STATUS_SERVICE_UNAVAILABLE = 503;
-
/**
* Sets the content disposition header (with possible workarounds)
* @param string $filename file name