diff --git a/main/course_home/course_home.php b/main/course_home/course_home.php index 722f3dd924..70f9cf6dbf 100644 --- a/main/course_home/course_home.php +++ b/main/course_home/course_home.php @@ -1,4 +1,4 @@ -"; +// name of the language file that needs to be included +$language_file[] = "course_home"; + +// inlcuding the global file +include('../../main/inc/global.inc.php'); + if(!isset($cidReq)) { $cidReq = api_get_course_id(); // to provide compatibility. with previous system @@ -82,15 +88,6 @@ if(!isset($cidReq)) $error_msg[$classError][] = "[".__FILE__."][".__LINE__."] cidReq was Missing $cidReq take $dbname;"; } -// is this needed????? -$section = "course"; - -// name of the language file that needs to be included -$language_file[] = "course_home"; - -// inlcuding the global file -include('../../main/inc/global.inc.php'); - if(isset($_SESSION['_gid'])){ unset($_SESSION['_gid']); }