Minor - format code

remotes/angel/1.11.x
jmontoyaa 8 years ago
parent 8fcadc4067
commit f09483c6e9
  1. 1
      main/calendar/agenda_js.php
  2. 3
      main/inc/lib/AnnouncementManager.php
  3. 2
      main/inc/lib/groupmanager.lib.php

@ -21,7 +21,6 @@ $current_course_tool = TOOL_CALENDAR_EVENT;
$this_section = SECTION_MYAGENDA;
$htmlHeadXtra[] = api_get_jquery_libraries_js(array('jquery-ui', 'jquery-ui-i18n'));
$htmlHeadXtra[] = api_get_asset('qtip2/jquery.qtip.min.js');
$htmlHeadXtra[] = api_get_asset('fullcalendar/dist/fullcalendar.js');
$htmlHeadXtra[] = api_get_asset('fullcalendar/dist/locale-all.js');

@ -1468,14 +1468,13 @@ class AnnouncementManager
INNER JOIN $tbl_item_property ip
ON (announcement.id = ip.ref AND announcement.c_id = ip.c_id)
WHERE
ip.tool='announcement' AND
ip.tool = 'announcement' AND
announcement.c_id = $course_id AND
ip.c_id = $course_id AND
(ip.visibility='0' OR ip.visibility='1')
$condition_session
$searchCondition
ORDER BY display_order DESC";
//GROUP BY ip.ref
}
}
} else {

@ -1762,10 +1762,10 @@ class GroupManager
if (empty($groupInfo)) {
return false;
}
$table_group_tutor = Database::get_course_table(TABLE_GROUP_TUTOR);
$user_id = intval($user_id);
$group_id = intval($groupInfo['id']);
$course_id = api_get_course_int_id();
$sql = "SELECT * FROM $table_group_tutor

Loading…
Cancel
Save