Skip to content

Commit

Permalink
NOBUG: On upgrade, cli must not override current config. Just set und…
Browse files Browse the repository at this point in the history
…efined (new) ones
  • Loading branch information
stronk7 committed Jan 21, 2010
1 parent 9cf45d0 commit 054d392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/cli/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
session_set_user($admin);

// apply all default settings, just in case do it twice to fill all defaults
admin_apply_default_settings(NULL, true);
admin_apply_default_settings(NULL, true);
admin_apply_default_settings(NULL, false);
admin_apply_default_settings(NULL, false);

echo get_string('cliupgradefinished', 'admin')."\n";
exit(0); // 0 means success

0 comments on commit 054d392

Please sign in to comment.