Browse Source

[svn r10035] remove the "My Students" link in the banner

Eric Marguin 18 years ago
parent
commit
d396604413
1 changed files with 3 additions and 2 deletions
  1. 3 2
      main/inc/banner.inc.php

+ 3 - 2
main/inc/banner.inc.php

@@ -231,12 +231,13 @@ if ($_user['user_id'])
 	$navigation['myagenda']['title'] = get_lang('MyAgenda');
 	if(api_get_setting('use_session_mode')=='true')
 	{
-		if(api_is_coach())
+		//It's now in the reporting
+		/*if(api_is_coach())
 		{
 			// Link to my students
 			$navigation['session_my_students']['url'] = api_get_path(WEB_PATH).'myStudents.php';
 			$navigation['session_my_students']['title'] = get_lang('MyStudents');
-		}
+		}*/
 		if(api_is_allowed_to_create_course())
 		{
 			// Link to my space