瀏覽代碼

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

Eric Marguin 18 年之前
父節點
當前提交
d396604413
共有 1 個文件被更改,包括 3 次插入2 次删除
  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