summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-08-21 19:47:16 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-08-21 19:47:16 +0200
commite8ba604abcf1a861d550f78b629f81ef1a76bf1c (patch)
treecd923676d19fd7b6801be82dd2fee31dbe55ba5d /application/views/file_plaintext
parent5947ccb5ff7078b10bd8541afc5dafc4122bfed7 (diff)
Display deprecation warning for files uploaded via plain text API
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file_plaintext')
-rw-r--r--application/views/file_plaintext/show_url.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/views/file_plaintext/show_url.php b/application/views/file_plaintext/show_url.php
index 64050ddcd..3288ba08e 100644
--- a/application/views/file_plaintext/show_url.php
+++ b/application/views/file_plaintext/show_url.php
@@ -1,3 +1,4 @@
<?php
+$urls = array_map(function($a) {return $a."?cli_deprecated";}, $urls);
echo implode(" ", $urls)."\n";