From 413d0cdac49257089a0790f6ac92973a36a6b69f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 21 Mar 2011 16:25:00 +0100 Subject: remove file_mod->check_client_version() The interfaces shouldn't change anymore. Signed-off-by: Florian Pritz --- application/controllers/file.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'application/controllers') diff --git a/application/controllers/file.php b/application/controllers/file.php index 29ff24ca1..9d872fbb0 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -88,7 +88,6 @@ class File extends CI_Controller { // Allow users to delete IDs if their password matches the one used when uploading function delete() { - $this->file_mod->check_client_version(); $data = array(); $id = $this->uri->segment(3); $password = $this->file_mod->get_password(); @@ -123,7 +122,6 @@ class File extends CI_Controller { // XXX: this is too vulnerable to bots function do_paste() { - $this->file_mod->check_client_version(); // FIXME: disable until bot problem is really fixed return $this->upload_form(); @@ -162,7 +160,6 @@ class File extends CI_Controller { // TODO: merge with do_paste() function do_upload() { - $this->file_mod->check_client_version(); $data = array(); $extension = $this->input->post('extension'); // TODO: Display nice error for cli clients -- cgit v1.2.3-24-g4f1b