From 3755577853ef0a785aa6f718a2f3d824a9098556 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 15 Sep 2011 22:10:49 +0200 Subject: remove leftover code do_paste has been remove in b8fb38927fd2cc25f6748cff51b7de94e3082701 Signed-off-by: Florian Pritz --- application/controllers/file.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/application/controllers/file.php b/application/controllers/file.php index 32eb369d0..ca8e62f3f 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -46,8 +46,6 @@ class File extends CI_Controller { $id = $this->uri->segment(1); if(isset($_FILES['file'])) { $this->do_upload(); - } elseif ($this->input->post('content')) { - $this->do_paste(); } elseif ($id != "file" && $this->file_mod->id_exists($id)) { $this->file_mod->download(); } elseif ($id && $id != "file") { -- cgit v1.2.3-24-g4f1b