MDL-26721 automated backups - Fix typo
authorSagie Maoz <sagie@maoz.info>
Sat, 6 Aug 2011 20:46:17 +0000 (21:46 +0100)
committerSam Hemelryk <sam@moodle.com>
Mon, 8 Aug 2011 07:40:55 +0000 (15:40 +0800)
Causing the 'role assignment' backup inclusion to be tied to the users

Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
backup/util/helper/backup_cron_helper.class.php

index ea07094..be15523 100644 (file)
@@ -312,7 +312,7 @@ abstract class backup_cron_automated_helper {
 
             $settings = array(
                 'users' => 'backup_auto_users',
-                'role_assignments' => 'backup_auto_users',
+                'role_assignments' => 'backup_auto_role_assignments',
                 'user_files' => 'backup_auto_user_files',
                 'activities' => 'backup_auto_activities',
                 'blocks' => 'backup_auto_blocks',