summaryrefslogtreecommitdiffstats
path: root/application/controllers/Main.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-09-24 15:22:39 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-09-24 15:22:39 +0200
commit2df9918d5dd3fe70ebecdcaf062944f4b04bcbb3 (patch)
tree4208f44707f83c7f56d7eb9c77b270862ed9ba6e /application/controllers/Main.php
parenta55bad796d2d14454e9bc854d5f183ac45c6a95c (diff)
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 <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/Main.php')
-rw-r--r--application/controllers/Main.php7
1 files changed, 0 insertions, 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();