← Back to team overview

mahara-contributors team mailing list archive

[Bug 1996472] A change has been merged

 

Reviewed:  https://reviews.mahara.org/c/mahara/+/13806
Committed: https://git.mahara.org/mahara/mahara/commit/f7639a9ff048735fd60ee6af6058975087a5ebb4
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch:    22.10_DEV

commit f7639a9ff048735fd60ee6af6058975087a5ebb4
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
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 <robertl@xxxxxxxxxxxxxxx>
(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:
  In Progress
Status in Mahara 22.04 series:
  In Progress
Status in Mahara 22.10 series:
  In Progress
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



References