Comment 2 for bug 1644386

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7810
Committed: https://git.mahara.org/mahara/mahara/commit/4b4deb91c2400728c2a59ce8f1f038452854d093
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 4b4deb91c2400728c2a59ce8f1f038452854d093
Author: Robert Lyon <email address hidden>
Date: Wed Jun 7 12:29:32 2017 +1200

Bug 1644386: Update block on group homepage if allowsubmissions change

Added db upgrade where we update only the existing groupviews blocks where:
1) the group is submittable to
2) no choice has been selected to view submissions

This way we don't accidentially overwrite a user's choice

behatnotneeded

Change-Id: Idd50fe3a75a7434cbbd5ff30d755708c9f855e7b
Signed-off-by: Robert Lyon <email address hidden>