Minor - removing error_log

skala
Julio Montoya 13 years ago
parent e632532991
commit 914db37715
  1. 3
      main/inc/lib/events.lib.inc.php

@ -322,7 +322,7 @@ function event_link($link_id) {
*/ */
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) { 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('Called to update_event_exercice');
error_log('duration:' . $duration); //error_log('duration:' . $duration);
require_once api_get_path(SYS_CODE_PATH).'exercice/exercise.lib.php'; require_once api_get_path(SYS_CODE_PATH).'exercice/exercise.lib.php';
if ($exeid != '') { if ($exeid != '') {
// Validation in case of fraud with actived control time // Validation in case of fraud with actived control time
@ -397,6 +397,7 @@ function update_event_exercice($exeid, $exo_id, $score, $weighting, $session_id,
* @return $id the last id registered, or false on error * @return $id the last id registered, or false on error
* @author Julio Montoya <gugli100@gmail.com> * @author Julio Montoya <gugli100@gmail.com>
* @desc Record result of user when an exercice was done * @desc Record result of user when an exercice was done
* @deprecated this class seems to be deprecated
*/ */
function create_event_exercice($exo_id) { function create_event_exercice($exo_id) {
if (empty($exo_id) or (intval($exo_id)!=$exo_id)) { return false; } if (empty($exo_id) or (intval($exo_id)!=$exo_id)) { return false; }

Loading…
Cancel
Save