Group data queried too many times on group pages
Bug #887002 reported by
Richard Mansfield
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Richard Mansfield |
Bug Description
The group_current_
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Richard Mansfield (richard-mansfield) |
milestone: | none → 1.5.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/834 gitorious. org/mahara/ mahara/ commit/ 79cf0eb22fae7a6 e9abbde041bac15 e525933cfe
Committed: http://
Submitter: Richard Mansfield (<email address hidden>)
Branch: master
commit 79cf0eb22fae7a6 e9abbde041bac15 e525933cfe
Author: Richard Mansfield <email address hidden>
Date: Mon Nov 7 18:26:44 2011 +1300
Check value of static variable in group_current_group (bug #887002)
The $dying variable mentioned in the comment being deleted in this
patch is not necessary because checking the value of $group stops
a 2nd exception being thrown.
The return value of group_current_group is only checked in the smarty
function to stop a "Trying to get property of non-object" warning
from being logged.
Change-Id: Ic78458bbe6ebe5 2fc4cb82cc66194 9d97ed450b4
Signed-off-by: Richard Mansfield <email address hidden>