mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
Merge branch 'MDL-42427-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
d82a3b9f76
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ abstract class backup_cron_automated_helper {
|
||||||
// that have not been modified since previous backup.
|
// that have not been modified since previous backup.
|
||||||
if ($shouldrunnow && !$skipped && $lastbackupwassuccessful && $config->backup_auto_skip_modif_prev) {
|
if ($shouldrunnow && !$skipped && $lastbackupwassuccessful && $config->backup_auto_skip_modif_prev) {
|
||||||
// Check log if there were any modifications to the course content.
|
// Check log if there were any modifications to the course content.
|
||||||
|
$sqlwhere = "course=:courseid AND time>:time AND ".$DB->sql_like('action', ':action', false, true, true);
|
||||||
$params = array('courseid' => $course->id,
|
$params = array('courseid' => $course->id,
|
||||||
'time' => $backupcourse->laststarttime,
|
'time' => $backupcourse->laststarttime,
|
||||||
'action' => '%view%');
|
'action' => '%view%');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue