commit 464e7303a7e77dbe482a6012a7c4106ddd6a4b15
Author: Robert Lyon <email address hidden>
Date: Thu Feb 9 11:14:32 2023 +1300
Bug 2006637: Problem with populating blocktype_installed_viewtype table
For Blocktype::get_viewtypes() the list it returns is static
so if there are more than one call to it during an upgrade it doesn't
pick up any new viewtypes added after the first call.
In upgrade we need it to not be static
Change-Id: I023b0488929138a597a5a1ad058c2c344e23649f
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit eb7abacbcbfa906e9662fd5cb7cfbc881c005973)
Reviewed: https:/ /reviews. mahara. org/c/mahara/ +/13762 /git.mahara. org/mahara/ mahara/ commit/ 464e7303a7e77db e482a6012a7c410 6ddd6a4b15
Committed: https:/
Submitter: "Robert Lyon <email address hidden>"
Branch: 21.10_DEV
commit 464e7303a7e77db e482a6012a7c410 6ddd6a4b15
Author: Robert Lyon <email address hidden>
Date: Thu Feb 9 11:14:32 2023 +1300
Bug 2006637: Problem with populating blocktype_ installed_ viewtype table
For Blocktype: :get_viewtypes( ) the list it returns is static
so if there are more than one call to it during an upgrade it doesn't
pick up any new viewtypes added after the first call.
In upgrade we need it to not be static
Change-Id: I023b0488929138 a597a5a1ad058c2 c344e23649f e9662fd5cb7cfbc 881c005973)
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit eb7abacbcbfa906