Minor - format code

pull/2487/head
jmontoyaa 9 years ago
parent aefe9d4a5a
commit ce89ddefca
  1. 11
      main/exercise/export/aiken/aiken_classes.php
  2. 1
      main/inc/lib/fileUpload.lib.php

@ -1,5 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
/**
* @author Claro Team <cvs@claroline.net>
* @author Yannick Warnier <yannick.warnier@beeznest.com> - updated ImsAnswerHotspot to match QTI norms
@ -7,16 +8,6 @@
* @package chamilo.exercise
*/
/**
* @param string $filename
* @return string
*/
function mime_content_type($filename)
{
return DocumentManager::file_get_mime_type((string) $filename);
}
/**
* Aiken2Question transformation class
*/

@ -281,7 +281,6 @@ function handle_uploaded_document(
return false;
} else {
// Clean up the name, only ASCII characters should stay. (and strict)
$cleanName = api_replace_dangerous_char($uploadedFile['name'], $treat_spaces_as_hyphens);
// No "dangerous" files

Loading…
Cancel
Save