Bug 1879410: Add a text block in Dashboard page using TestingDataGenerator.php
Modified create_block() functionality of TestingDataGenerator.php to generate
blocks in the Dashboard page
Modified code based on review comments - moved sql query to else block, used list
instead of array and added type='dashboard' in sql query, modified dashboard
str match from preg match
Reviewed: https:/ /reviews. mahara. org/10987 /git.mahara. org/mahara/ mahara/ commit/ 4cff0886363f94f f4edbf2e4e660c9 088d2e24d5
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 20.04_STABLE
commit 4cff0886363f94f f4edbf2e4e660c9 088d2e24d5
Author: Aatharsh Girishwar Vijaya Sugumar <email address hidden>
Date: Tue May 19 13:56:41 2020 +1200
Bug 1879410: Add a text block in Dashboard page using TestingDataGene rator.php
Modified create_block() functionality of TestingDataGene rator.php to generate
blocks in the Dashboard page
Modified code based on review comments - moved sql query to else block, used list
instead of array and added type='dashboard' in sql query, modified dashboard
str match from preg match
Change-Id: I8880226008217b 0bc3ed9b97301ad 060c998d058 5697c2a2c5ad7d8 75d4709b78)
Signed-off-by: Aatharsh Girishwar Vijaya Sugumar <email address hidden>
(cherry picked from commit d811cd3c6c82065