moodle/blocks/glossary_random
David Mudrák 32fc1a69a5 MDL-50310 glossary: Fix restore of random glossary entry block
When restoring the random glossary entry block, we need to check that
the associated glossary has also been included in the backup and is
being restored. If not, we must invalidate the block configuration.

Before this patch, the block configuration was not invalidated.

Additionally, as a result of MDL-20131, the block configuration also
contains the course id of the associated glossary (which by the way does
not seem to be a wise choice, but I may be missing something). So we
need to remap this course id as well to avoid mismatch.
2016-02-05 00:08:39 +01:00
..
backup/moodle2 MDL-50310 glossary: Fix restore of random glossary entry block 2016-02-05 00:08:39 +01:00
db MDL-37414 blocks: re-added the ability to add some blocks to the My Moodle 2013-01-22 10:52:41 +08:00
lang/en MDL-48936 lang: Changed "My Home" to "Dashboard". 2015-04-10 17:16:27 +08:00
tests/behat MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
block_glossary_random.php MDL-50710 block_glossary_random: more precise sorting 2015-11-30 09:16:28 +08:00
edit_form.php MDL-44120 block: tidied up block @package uses 2014-02-16 12:17:14 +13:00
version.php MDL-52059 versions: bump all versions and requires near release 2015-11-10 12:33:52 +01:00