Comment 8 for bug 1606094

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

Reviewed: https://reviews.mahara.org/6773
Committed: https://git.mahara.org/mahara/mahara/commit/d2c729330e0f7842445d92f489366b2174c6b2d5
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.10_STABLE

commit d2c729330e0f7842445d92f489366b2174c6b2d5
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)