Browse Source

Minor - Removing var_dumps

Julio Montoya 12 years ago
parent
commit
0d5f41a0a0
2 changed files with 2 additions and 4 deletions
  1. 1 2
      main/work/work.lib.php
  2. 1 2
      main/work/work.php

+ 1 - 2
main/work/work.lib.php

@@ -528,8 +528,7 @@ function display_student_publications_list($id, $link_target_parameter, $dateFor
                                                 
                         $defaults['weight[weight]'] = $link_info['weight'];
                         
-                        if (!empty($link_info)) {      
-                            var_dump($link_info);
+                        if (!empty($link_info)) {                            
                             $defaults['category_id'] = $link_info['category_id'];
                             $defaults['make_calification'] = 1;
                         }

+ 1 - 2
main/work/work.php

@@ -527,8 +527,7 @@ switch ($action) {
         }        
 		break;        
     case 'upload': 
-        $check = Security::check_token('post');        
-        //var_dump($check);
+        $check = Security::check_token('post');                
 		if ($student_can_edit_in_session && $check) {
 			
 			//check the token inserted into the form