Config gear icon removed from the Annotation blocks.
In order to still initially create these when added we needed to check
if the Block was a new instance or not. To achieve that we are now
passing the block instance into the has_instance_config() method.
BlockInstance has been extended and will set a 'new' parameter if the ID
in the constructor is 0.
AuthPlugin* classes also have the has_instance_config(). These do not
need the BlockInstance passed in.
Reviewed: https:/ /reviews. mahara. org/11584 /git.mahara. org/mahara/ mahara/ commit/ 690edccda265f9d 5db517de599bb72 62ee54ea31
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 690edccda265f9d 5db517de599bb72 62ee54ea31
Author: Gold <email address hidden>
Date: Fri Feb 26 12:39:08 2021 +1300
Bug 1916833 - Annotation can be updated on a page
Config gear icon removed from the Annotation blocks. config( ) method.
In order to still initially create these when added we needed to check
if the Block was a new instance or not. To achieve that we are now
passing the block instance into the has_instance_
BlockInstance has been extended and will set a 'new' parameter if the ID
in the constructor is 0.
AuthPlugin* classes also have the has_instance_ config( ). These do not
need the BlockInstance passed in.
Change-Id: Ifac69fc1d48b45 c079b6f66e61077 6cead3dee63