Comment 2 for bug 1606094

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

Reviewed: https://reviews.mahara.org/6748
Committed: https://git.mahara.org/mahara/mahara/commit/2c262cdf8d3ddb8c9c66565c084b67e2f24825e6
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit 2c262cdf8d3ddb8c9c66565c084b67e2f24825e6
Author: Aaron Wells <email address hidden>
Date: Mon Jul 25 13:46:14 2016 +1200

Bug 1606094: Stop sending quota notifications to everyone

This patch changes that bad left (outer) join to an inner
join, so that we only check for notifications for users
who are in the affected institution.

As a further safeguard, it also removes the line that
compared each user's file usage to the institution's
new quota. Now, we'll instead compare each user's
file usage to that user's current quota (which, for
members of the institution, will be the institution's
new quota.)

Change-Id: I4db6068221d1238c8a755434e78e6cc006a84aa8
behatnotneeded: Test to come later