From 15bf275ec299719b8b34055b0b13b06ae0176dba Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 19 Sep 2016 20:59:28 +0200 Subject: Improve plaintext API deprecation warning Signed-off-by: Florian Pritz --- application/controllers/file/file_default.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/file/file_default.php b/application/controllers/file/file_default.php index 2a16521a1..f8beb90b8 100644 --- a/application/controllers/file/file_default.php +++ b/application/controllers/file/file_default.php @@ -88,7 +88,9 @@ class File_default extends MY_Controller { 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." + "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." ]; } -- cgit v1.2.3-24-g4f1b