summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-09-26 11:37:04 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-11-01 17:29:04 +0100
commit25c0d4c68a77a7501038160ee9f200ce99a56b81 (patch)
treeedf435820209b0465abbee956191977af2ab2ac4
parent5090f4cce2b49eb3e3262726e127caea6dd0932c (diff)
Remove plaintext API deprecation warning
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/controllers/file/file_default.php9
1 files changed, 0 insertions, 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" => "<b>WARNING:</b> This file has been uploaded with a client that uses an old and deprecated API.<br>
- This API will be removed in the near future. Please update your client to one that uses a more recent API.<br>
- 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;