From 36fb8e69a52668d5c0107140b4fefa6439f9672e Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Wed, 24 May 2017 08:08:08 +0200 Subject: [PATCH] Minor - format code --- main/upload/index.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main/upload/index.php b/main/upload/index.php index 6b2cc018d0..31c407a5aa 100755 --- a/main/upload/index.php +++ b/main/upload/index.php @@ -37,14 +37,10 @@ function check_unzip() { $is_allowed_to_edit = api_is_allowed_to_edit(null, true); if (!$is_allowed_to_edit) { - api_not_allowed(true); + api_not_allowed(true); } -$courseDir = $_course['path']."/document"; -$sys_course_path = api_get_path(SYS_COURSE_PATH); -$base_work_dir = $sys_course_path.$courseDir; $noPHP_SELF = true; -$max_filled_space = DocumentManager::get_course_quota(); //what's the current path? if (isset($_REQUEST['curdirpath'])) {