Reviewed: https://reviews.mahara.org/c/mahara/+/13807 Committed: https://git.mahara.org/mahara/mahara/commit/af740948f21e757c691e9f0119032e53e0f49c92 Submitter: "Robert Lyon <[email protected]>" Branch: 22.04_DEV
commit af740948f21e757c691e9f0119032e53e0f49c92 Author: Robert Lyon <[email protected]> Date: Mon Nov 14 12:54:00 2022 +1300 Bug 1996472: Stop sending registration stats while site is not in prod mode If we set the site to 'productionmode' = false we should stop the sending of stats even if the 'registration_sendweeklyupdates' is true. This is for sites that were in production more but are set to not be in production (maybe temporarily or maybe permanently) Change-Id: I4746edcb3c6ad08f99be6c954dcf70894fdade16 Signed-off-by: Robert Lyon <[email protected]> (cherry picked from commit 9fa2cfd8a60fc8c32c561fd5907a30d367602797) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: mahara-contributors https://bugs.launchpad.net/bugs/1996472 Title: Respect the 'do not send stats' when not in production mode Status in Mahara: Fix Committed Status in Mahara 21.10 series: Fix Committed Status in Mahara 22.04 series: Fix Committed Status in Mahara 22.10 series: Fix Committed Status in Mahara 23.04 series: Fix Committed Bug description: When you create a site when " $cfg->productionmode = false; " you can't register the site with Mahara.org (which is correct). And if you change the site to " $cfg->productionmode = true; " you can register with Mahara.org (again this correct). But if you then set the site back to " $cfg->productionmode = false; " it will continue to send registration data (this is not correct). We need a check to see what mode the site is in before sending the data and only do it if the site is currently in production mode. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1996472/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

