Comment PENS code in SCORM upload - requires review

1.10.x
Yannick Warnier 10 years ago
parent fc157c7567
commit 9c7fc781c9
  1. 3
      main/upload/form.scorm.php

@ -106,6 +106,8 @@ if (count($list)>0) {
$form->addButtonUpload(get_lang('Upload'));
/*
TODO: check the pens plugin is enabled before using it
if (is_dir(api_get_path(PLUGIN_PATH)."/pens")) {
require_once api_get_path(PLUGIN_PATH)."/pens/chamilo_pens.php";
$list = ChamiloPens::findAll();
@ -116,6 +118,7 @@ if (is_dir(api_get_path(PLUGIN_PATH)."/pens")) {
}
}
}
*/
// the default values for the form
$defaults = array('index_document' => 'checked="checked"', 'use_max_score' => 1);

Loading…
Cancel
Save