Comment 6 for bug 1606094

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

Reviewed: https://reviews.mahara.org/6774
Committed: https://git.mahara.org/mahara/mahara/commit/01bf95d5cbda7bb642b695d5ddab39bac2b3d47d
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE

commit 01bf95d5cbda7bb642b695d5ddab39bac2b3d47d
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
(cherry picked from commit 2c262cdf8d3ddb8c9c66565c084b67e2f24825e6)