some artefact types missing from group quota calculation

Bug #854427 reported by Melissa Draper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Melissa Draper

Bug Description

While fixing 853658 I noticed that recalculate_group_quota() in htdocs/artefact/file/lib.php currently lacks the video and audio artefact types.

Tags: quota
Melissa Draper (melissa)
Changed in mahara:
assignee: nobody → Melissa Draper (melissa)
Changed in mahara:
importance: Undecided → High
status: New → Incomplete
status: Incomplete → Confirmed
tags: added: quota
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/722
Committed: http://gitorious.org/mahara/mahara/commit/137e50314421d873bf04a37e685357a0f18308bb
Submitter: Richard Mansfield (<email address hidden>)
Branch: master

commit 137e50314421d873bf04a37e685357a0f18308bb
Author: Melissa Draper <email address hidden>
Date: Tue Sep 20 17:36:59 2011 +1200

    Add all artefacts to group quota calc (bug #854427)

    The individual quota check was including the video and audio types
    but the group quota wasn't. This wasn't ideal. The quota checks
    now use the PluginArtefactFile::get_artefact_types() method to make
    sure this doesn't happen so easily in the future.

    Change-Id: If926233f80479f7031d1e0cac64dff7c316fa273
    Signed-off-by: Melissa Draper <email address hidden>

Changed in mahara:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.