mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
Merge branch 'MDL-45560-26' of git://github.com/andrewnicols/moodle into MOODLE_26_STABLE
This commit is contained in:
commit
a9af7d94e1
1 changed files with 3 additions and 1 deletions
|
@ -135,7 +135,6 @@ $adminediting = optional_param('adminedit', -1, PARAM_BOOL);
|
||||||
if ($PAGE->user_allowed_editing() && $adminediting != -1) {
|
if ($PAGE->user_allowed_editing() && $adminediting != -1) {
|
||||||
$USER->editing = $adminediting;
|
$USER->editing = $adminediting;
|
||||||
}
|
}
|
||||||
\core\session\manager::write_close();
|
|
||||||
|
|
||||||
if (!empty($chooselog)) {
|
if (!empty($chooselog)) {
|
||||||
$userinfo = get_string('allparticipants');
|
$userinfo = get_string('allparticipants');
|
||||||
|
@ -175,6 +174,7 @@ if (!empty($chooselog)) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'downloadascsv':
|
case 'downloadascsv':
|
||||||
|
\core\session\manager::write_close();
|
||||||
if (!print_log_csv($course, $user, $date, 'l.time DESC', $modname,
|
if (!print_log_csv($course, $user, $date, 'l.time DESC', $modname,
|
||||||
$modid, $modaction, $group)) {
|
$modid, $modaction, $group)) {
|
||||||
echo $OUTPUT->notification("No logs found!");
|
echo $OUTPUT->notification("No logs found!");
|
||||||
|
@ -182,6 +182,7 @@ if (!empty($chooselog)) {
|
||||||
}
|
}
|
||||||
exit;
|
exit;
|
||||||
case 'downloadasods':
|
case 'downloadasods':
|
||||||
|
\core\session\manager::write_close();
|
||||||
if (!print_log_ods($course, $user, $date, 'l.time DESC', $modname,
|
if (!print_log_ods($course, $user, $date, 'l.time DESC', $modname,
|
||||||
$modid, $modaction, $group)) {
|
$modid, $modaction, $group)) {
|
||||||
echo $OUTPUT->notification("No logs found!");
|
echo $OUTPUT->notification("No logs found!");
|
||||||
|
@ -189,6 +190,7 @@ if (!empty($chooselog)) {
|
||||||
}
|
}
|
||||||
exit;
|
exit;
|
||||||
case 'downloadasexcel':
|
case 'downloadasexcel':
|
||||||
|
\core\session\manager::write_close();
|
||||||
if (!print_log_xls($course, $user, $date, 'l.time DESC', $modname,
|
if (!print_log_xls($course, $user, $date, 'l.time DESC', $modname,
|
||||||
$modid, $modaction, $group)) {
|
$modid, $modaction, $group)) {
|
||||||
echo $OUTPUT->notification("No logs found!");
|
echo $OUTPUT->notification("No logs found!");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue