LOCAL: changes made locally and probably already in 1.11.x

webservicelpcreate
admin beeznest 4 years ago
parent e4834b532a
commit d8cb355688
  1. 1
      app/home/home_menu.html
  2. 3
      main/mySpace/myStudents.php
  3. 4
      src/Chamilo/CourseBundle/Component/CourseCopy/CourseRestorer.php

@ -1 +0,0 @@
<li class="forum-btn"><a href="http://www.chamilo.org/forum" target="_self">Forum</a></li>

@ -1350,7 +1350,8 @@ if (empty($details)) {
.http_build_query( .http_build_query(
[ [
'action' => 'export_one_session_row', 'action' => 'export_one_session_row',
'export' => 'xls', 'export' => 'xls',
'student' => $student_id,
'session_to_export' => $sId, 'session_to_export' => $sId,
] ]
) )

@ -2278,6 +2278,10 @@ class CourseRestorer
*/ */
public function restore_test_category($session_id, $respect_base_content, $destination_course_code) public function restore_test_category($session_id, $respect_base_content, $destination_course_code)
{ {
if (!empty($session_id)) {
return false;
}
$destinationCourseId = $this->destination_course_info['real_id']; $destinationCourseId = $this->destination_course_info['real_id'];
// Let's restore the categories // Let's restore the categories
$categoryOldVsNewList = []; // used to build the quiz_question_rel_category table $categoryOldVsNewList = []; // used to build the quiz_question_rel_category table

Loading…
Cancel
Save