From the moodle course page, click on any exisiting block and select delete the block.
When the confirmation option show up, do not select anything and go ahead to add the same block from "Add a block"
On the course page, 2 blocks will be displayed.
On deleting one of the blocks, only 1 block will be deleted.
The code referred is :
instance_allow_multiple() {
return false;
- is duplicated by
-
MDL-77710 Add block not working with instance_allow_multiple()
- Open