mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-16106 report - fix old double-column trick causing problems in backup logs. Merged from 19_STABLE
This commit is contained in:
parent
b666481576
commit
2959db4a2b
@ -93,7 +93,7 @@
|
||||
echo $OUTPUT->box_start();
|
||||
|
||||
/// First, me get all the distinct backups for that course in backup_log
|
||||
$executions = $DB->get_records_sql("SELECT DISTINCT laststarttime,laststarttime
|
||||
$executions = $DB->get_records_sql("SELECT DISTINCT laststarttime
|
||||
FROM {backup_log}
|
||||
WHERE courseid = ? AND backuptype = ?
|
||||
ORDER BY laststarttime DESC", array($courseid,'scheduledbackup'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user