From 25c0d4c68a77a7501038160ee9f200ce99a56b81 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 26 Sep 2016 11:37:04 +0200 Subject: Remove plaintext API deprecation warning Signed-off-by: Florian Pritz --- application/controllers/file/file_default.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/application/controllers/file/file_default.php b/application/controllers/file/file_default.php index f3c2f38ff..b3bd97796 100644 --- a/application/controllers/file/file_default.php +++ b/application/controllers/file/file_default.php @@ -81,15 +81,6 @@ class File_default extends MY_Controller { $id = $this->uri->segment(1); $lexer = urldecode($this->uri->segment(2)); - if (isset($_GET["cli_deprecated"])) { - $this->data['alerts'][] = [ - "type" => "warning", - "message" => "WARNING: This file has been uploaded with a client that uses an old and deprecated API.
- This API will be removed in the near future. Please update your client to one that uses a more recent API.
- If you are using fb-client, please upgrade to version 2.0 or newer. For other clients, please check with your client's developer." - ]; - } - $is_multipaste = false; if ($this->mmultipaste->id_exists($id)) { $is_multipaste = true; -- cgit v1.2.3-24-g4f1b