I think that we should use the same exact code in backup_execute.php
and backup_scheduled.php to avoid duplicating it in two files !!
$status = backup_scales_info($backup_file,$preferences);
}
+ //Print groups info
+ if ($status) {
+ schedule_backup_log($starttime,$preferences->backup_course," groups");
+ $status = backup_groups_info($backup_file,$preferences);
+ }
+
//Module info, this unique function makes all the work!!
//db export and module fileis copy
if ($status) {