From 2df9918d5dd3fe70ebecdcaf062944f4b04bcbb3 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 24 Sep 2018 15:22:39 +0200 Subject: Remove unused get_max_size endpoint This should be have been removed in v2.0.0 with the removal of the plain text API. Signed-off-by: Florian Pritz --- application/controllers/Main.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/application/controllers/Main.php b/application/controllers/Main.php index 629678f8b..fad781934 100644 --- a/application/controllers/Main.php +++ b/application/controllers/Main.php @@ -462,13 +462,6 @@ class Main extends MY_Controller { $this->load->view('footer', $this->data); } - // Allow CLI clients to query the server for the maxium filesize so they can - // stop the upload before wasting time and bandwith - function get_max_size() - { - echo $this->config->item('upload_max_size'); - } - function thumbnail() { session_write_close(); -- cgit v1.2.3-24-g4f1b