Browse Source

Task #1765 - newscorm/lp_controller.php: Elimination of $stats_charset variable.

Ivan Tcholakov 14 years ago
parent
commit
933e5943fd
1 changed files with 0 additions and 3 deletions
  1. 0 3
      main/newscorm/lp_controller.php

+ 0 - 3
main/newscorm/lp_controller.php

@@ -773,7 +773,6 @@ switch($action)
 			$lp_id = $_SESSION['oLP']->get_id();
 			$list = $_SESSION['oLP']->get_flat_ordered_items_list($lp_id);
 			$user_id = api_get_user_id();
-			$stats_charset = $_SESSION['oLP']->encoding;
 			require 'lp_stats.php';
 		}
 		break;
@@ -845,7 +844,6 @@ switch($action)
         	    $lp_id = $_SESSION['oLP']->get_id();
 	            $list = $_SESSION['oLP']->get_flat_ordered_items_list($lp_id);
         	    $user_id = api_get_user_id();
-	            $stats_charset = $_SESSION['oLP']->encoding;
         	    //header('location: ../course_home/course_home.php?'.api_get_cidreq()); // This is not the preferable way to go to the homepage.
 	            header('location: '.api_get_path(WEB_COURSE_PATH).api_get_course_path().'/index.php');
         	}
@@ -866,4 +864,3 @@ if(!empty($_SESSION['oLP'])){
 	$_SESSION['lpobject'] = serialize($_SESSION['oLP']);
 	if($debug>0) error_log('New LP - lpobject is serialized in session',0);
 }
-?>