From ae388902168f7b08de579d2163baa0781e5131ca Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 31 May 2009 09:38:17 +0200 Subject: [PATCH] [svn r21130] Removed error logging in hasty commit --- main/inc/lib/tracking.lib.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main/inc/lib/tracking.lib.php b/main/inc/lib/tracking.lib.php index 019c7a5597..8b3628a743 100644 --- a/main/inc/lib/tracking.lib.php +++ b/main/inc/lib/tracking.lib.php @@ -401,7 +401,6 @@ class Tracking { //Scorm test while($a_learnpath = Database::fetch_array($sql_result_lp)){ -error_log(__LINE__.'; '.print_r($a_learnpath,1)); //We get the last view id of this LP $sql='SELECT max(id) as id FROM '.$lp_view_table.' WHERE lp_id='.$a_learnpath['id'].' AND user_id="'.intval($student_id).'"'; $rs_last_lp_view_id = api_sql_query($sql, __FILE__, __LINE__); @@ -419,7 +418,6 @@ error_log(__LINE__.'; '.print_r($a_learnpath,1)); $res_max_score=Database::query($sql_max_score,__FILE__,__LINE__); $count_total_loop=0; $num_rows_max_score=Database::num_rows($res_max_score); - error_log(__LINE__.' '.$num_rows_max_score); if ($num_rows_max_score==1) { while ($row_max_score=Database::fetch_array($res_max_score)) { if ($row_max_score['max_score']==0) { @@ -442,9 +440,7 @@ error_log(__LINE__.'; '.print_r($a_learnpath,1)); if ($count_total_loop==0) { $count_total_loop=1; } -error_log(__LINE__.'; '.$lp_scorm_result_score_total.'/'.$count_total_loop.'*100'); $score_of_scorm_calculate=round((($lp_scorm_result_score_total/$count_total_loop)*100),2); -error_log(__LINE__.'; '.$score_of_scorm_calculate); } //The next call to a MySQL fetch function, such as mysql_fetch_assoc(), would return that row. mysql_data_seek($sql_result_lp,0);