mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Managed forum posts: missing restore fields. Beating Eloy to fix the bug before he reports it ;)
This commit is contained in:
parent
df1b52e8bb
commit
abfd14da26
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@
|
||||||
$forum->rsstype = backup_todb($info['MOD']['#']['RSSTYPE']['0']['#']);
|
$forum->rsstype = backup_todb($info['MOD']['#']['RSSTYPE']['0']['#']);
|
||||||
$forum->rssarticles = backup_todb($info['MOD']['#']['RSSARTICLES']['0']['#']);
|
$forum->rssarticles = backup_todb($info['MOD']['#']['RSSARTICLES']['0']['#']);
|
||||||
$forum->timemodified = backup_todb($info['MOD']['#']['TIMEMODIFIED']['0']['#']);
|
$forum->timemodified = backup_todb($info['MOD']['#']['TIMEMODIFIED']['0']['#']);
|
||||||
|
$forum->warnafter = backup_todb($info['MOD']['#']['WARNAFTER']['0']['#']);
|
||||||
|
$forum->blockafter = backup_todb($info['MOD']['#']['BLOCKAFTER']['0']['#']);
|
||||||
|
$forum->blockperiod = backup_todb($info['MOD']['#']['BLOCKPERIOD']['0']['#']);
|
||||||
|
|
||||||
//We have to recode the scale field if it's <0 (positive is a grade, not a scale)
|
//We have to recode the scale field if it's <0 (positive is a grade, not a scale)
|
||||||
if ($forum->scale < 0) {
|
if ($forum->scale < 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue