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-05 19:44:15 +0100
commitc081494191769e5ec804da511ae7275b0725775f (patch)
tree65556a4558514e7f0a728d3a70b70289b6905d3d
parent1027de3579f0ae95b3192431559d8db85c93af3f (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;