diff --git a/main/document/document.php b/main/document/document.php index a7bfa9de17..c03a8aac14 100755 --- a/main/document/document.php +++ b/main/document/document.php @@ -93,7 +93,6 @@ if ($capturePluginInstalled) { }); '; } - // Create directory certificates. DocumentManager::create_directory_certificate_in_course(api_get_course_id()); diff --git a/main/document/upload.php b/main/document/upload.php index 6433eb96bd..b2ef2fd351 100755 --- a/main/document/upload.php +++ b/main/document/upload.php @@ -34,7 +34,7 @@ */ // Name of the language file that needs to be included -$language_file = array('document','gradebook'); +$language_file = array('document', 'gradebook'); // Including the global initialization file require_once '../inc/global.inc.php';