Browse Source

Removing error_log

Julio Montoya 12 years ago
parent
commit
48aeaa6b55
1 changed files with 3 additions and 5 deletions
  1. 3 5
      main/inc/lib/events.lib.inc.php

+ 3 - 5
main/inc/lib/events.lib.inc.php

@@ -320,11 +320,9 @@ function event_link($link_id) {
  * @author Julio Montoya Armas <gugli100@gmail.com> Reworked 2010
  * @desc Record result of user when an exercice was done
 */
-function update_event_exercice($exeid, $exo_id, $score, $weighting, $session_id, $learnpath_id = 0, $learnpath_item_id = 0, $learnpath_item_view_id = 0, $duration = 0, $question_list = array(), $status = '', $remind_list = array() , $end_date = null) {
-    
-    error_log('Called to update_event_exercice');
-    error_log('duration:' . $duration);
-    
+function update_event_exercice($exeid, $exo_id, $score, $weighting, $session_id, $learnpath_id = 0, $learnpath_item_id = 0, $learnpath_item_view_id = 0, $duration = 0, $question_list = array(), $status = '', $remind_list = array() , $end_date = null) {    
+    //error_log('Called to update_event_exercice');
+    //error_log('duration:' . $duration);    
 	require_once api_get_path(SYS_CODE_PATH).'exercice/exercise.lib.php';
     if ($exeid != '') {
 		// Validation in case of fraud with actived control time