Browse Source

Disabling for now the sniffing code (sorry) there should be an option in platform or somewhere

Julio Montoya 13 years ago
parent
commit
0d61f42cf4
1 changed files with 5 additions and 8 deletions
  1. 5 8
      user_portal.php

+ 5 - 8
user_portal.php

@@ -200,13 +200,8 @@ if($_SESSION['sniff_navigator']!="checked") {
 
 $controller = new IndexManager(get_lang('MyCourses'));
 
-//if (!$$controllerl->tpl->isCached($tpl, api_get_user_id())) {
-
 //@todo all this could be moved in the IndexManager
 
-$courses_list 			= $controller->return_courses_main_plugin();
-
-
 // Main courses and session list
 ob_start();
 $controller->return_courses_and_sessions($personal_course_list);
@@ -215,12 +210,14 @@ ob_get_clean();
 
 $controller->tpl->assign('content', $courses_and_sessions);
 
-if($_SESSION['sniff_navigator']!="checked") {
+/*
+ * 
+if ($_SESSION['sniff_navigator']!="checked") {
 	$controller->tpl->assign('show_sniff', 					1);
-}
-else{
+} else{
 	$controller->tpl->assign('show_sniff', 					0);
 }
+*/
 
 
 //check for flash and message