From 855e1f6d4630d8650311b6a729f4910e5bc3d739 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 24 Oct 2015 10:09:15 +0100 Subject: [PATCH] Comment cleanup --- modules/feature-upload.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/modules/feature-upload.php b/modules/feature-upload.php index d441ba7..383bdba 100644 --- a/modules/feature-upload.php +++ b/modules/feature-upload.php @@ -200,19 +200,11 @@ register_module([ http_response_code(501); exit("Unrecognised file type."); } - - // todo render a preview here - - /* - * size (image outputs only, possibly width / height) - * 1-2048 (configurable) - * filetype - * either a mime type or 'native' - */ }); page_renderer::register_part_preprocessor(function(&$parts) { - // Todo add the preview to the top o fthe page here, but onyl if the current action is view and we are on a page prefixed with file: + // Todo add the preview to the top of the page here, but onyl if the current action is view and we are on a page prefixed with file: + }); } ]);