mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-24777 upgrade the emoticons settings into the new format, using the default values
This commit is contained in:
parent
015ba71af0
commit
f61b376873
2 changed files with 8 additions and 1 deletions
|
@ -5310,6 +5310,13 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
|
||||||
upgrade_main_savepoint(true, 2010101900);
|
upgrade_main_savepoint(true, 2010101900);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// new format of the emoticons setting
|
||||||
|
if ($oldversion < 2010102300) {
|
||||||
|
$DB->delete_records('config', array('name' => 'emoticons'));
|
||||||
|
$DB->delete_records('cache_text'); // changed md5 hash calculation
|
||||||
|
upgrade_main_savepoint(true, 2010102300);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
defined('MOODLE_INTERNAL') || die();
|
defined('MOODLE_INTERNAL') || die();
|
||||||
|
|
||||||
$version = 2010101901; // YYYYMMDD = date of the last version bump
|
$version = 2010102300; // YYYYMMDD = date of the last version bump
|
||||||
// XX = daily increments
|
// XX = daily increments
|
||||||
|
|
||||||
$release = '2.0 RC1 (Build: 20101023)'; // Human-friendly version name
|
$release = '2.0 RC1 (Build: 20101023)'; // Human-friendly version name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue