Browse Source

Minor - cleaning code

Julio Montoya 15 years ago
parent
commit
712479a568

+ 1 - 1
main/upload/form.document.php

@@ -4,7 +4,7 @@
 /**
  * Display part of the document sub-process for upload. This script MUST BE included by upload/index.php
  * as it prepares most of the variables needed here.
- * @package dokeos.upload
+ * @package chamilo.upload
  * @author Yannick Warnier <ywarnier@beeznest.org>
  */
 /**

+ 1 - 1
main/upload/form.scorm.php

@@ -3,7 +3,7 @@
 /**
  * Display part of the SCORM sub-process for upload. This script MUST BE included by upload/index.php
  * as it prepares most of the variables needed here.
- * @package dokeos.upload
+ * @package chamilo.upload
  * @author Yannick Warnier <ywarnier@beeznest.org>
  */
 /**

+ 4 - 4
main/upload/upload.scorm.php

@@ -4,13 +4,13 @@
 /**
  * Process part of the SCORM sub-process for upload. This script MUST BE included by upload/index.php
  * as it prepares most of the variables needed here.
- * @package dokeos.upload
+ * @package chamilo.upload
  * @author Yannick Warnier <ywarnier@beeznest.org>
  */
 /**
  * Process the SCORM package and return to the SCORM tool
  */
-$language_file = "scorm";
+$language_file = 'scorm';
 $cwdir = getcwd();
 require_once '../newscorm/lp_upload.php';
 //reinit current working directory as many functions in upload change it
@@ -45,6 +45,6 @@ if ($error=='not_a_learning_path') {
 	$msg = urlencode(get_lang('UplUploadSucceeded'));
 	$dialogtype = 'confirmation';
 }
-var_dump($msg);exit;
 header('location: ../newscorm/lp_controller.php?action=list&dialog_box='.$msg.'&dialogtype='.$dialogtype);
-?>
+exit;
+?>

+ 1 - 1
main/upload/upload_word.php

@@ -3,7 +3,7 @@
 /**
  * Action controller for the upload process. The display scripts (web forms) redirect
  * the process here to do what needs to be done with each file.
- * @package dokeos.upload
+ * @package chamilo.upload
  * @author Yannick Warnier <ywarnier@beeznest.org>
  */
 /**