Skip to content
Permalink
Browse files

MDL-39558 badges: Prevent backup of badges without user information

  • Loading branch information...
damyon committed Jul 3, 2013
1 parent 18811be commit fc83888891c46bb1d69e3dca7c32dfddcd3be147
Showing with 1 addition and 0 deletions.
  1. +1 −0 backup/moodle2/backup_root_task.class.php
@@ -127,6 +127,7 @@ protected function define_settings() {
$badges->set_ui(new backup_setting_ui_checkbox($badges, get_string('rootsettingbadges', 'backup')));
$this->add_setting($badges);
$activities->add_dependency($badges);
$users->add_dependency($badges);
// Define calendar events (dependent of users)
$events = new backup_calendarevents_setting('calendarevents', base_setting::IS_BOOLEAN, true);

0 comments on commit fc83888

Please sign in to comment.
You can’t perform that action at this time.