Respect the 'do not send stats' when not in production mode
Bug #1996472 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mahara | ||||||
21.10 |
Fix Released
|
High
|
Unassigned | |||
22.04 |
Fix Released
|
High
|
Unassigned | |||
22.10 |
Fix Released
|
High
|
Unassigned | |||
23.04 |
Fix Released
|
High
|
Unassigned |
Bug Description
When you create a site when " $cfg->productio
And if you change the site to " $cfg->productio
But if you then set the site back to " $cfg->productio
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.
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Changed in mahara: | |
milestone: | 23.04.0 → none |
no longer affects: | mahara |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/c/mahara/ +/13464 /git.mahara. org/mahara/ mahara/ commit/ 9fa2cfd8a60fc8c 32c561fd5907a30 d367602797
Committed: https:/
Submitter: "Robert Lyon <email address hidden>"
Branch: main
commit 9fa2cfd8a60fc8c 32c561fd5907a30 d367602797
Author: Robert Lyon <email address hidden>
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 sendweeklyupdat es'
stop the sending of stats even if the 'registration_
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: I4746edcb3c6ad0 8f99be6c954dcf7 0894fdade16
Signed-off-by: Robert Lyon <email address hidden>