Include grouptype class when changing group roles (bug #827762)
Changes to the group_update function in commit 57a9d96e50 added a
call to the grouptype's get_roles method, without first including
the grouptype class. The grouptype class is not available when
this function is called from the webservice api, so group_update
will call a method that doesn't exist.
Change-Id: I10c861f7e692192621ec8372e7a7f5f25cbd8f6f
Signed-off-by: Richard Mansfield <email address hidden>
Reviewed: https:/ /reviews. mahara. org/670 gitorious. org/mahara/ mahara/ commit/ aa3d90424493831 ceca13c362083c2 9a53c6e20e
Committed: http://
Submitter: Hugh Davenport (<email address hidden>)
Branch: master
commit aa3d90424493831 ceca13c362083c2 9a53c6e20e
Author: Piers Harding <email address hidden>
Date: Fri Sep 9 10:00:29 2011 +1200
Include grouptype class when changing group roles (bug #827762)
Changes to the group_update function in commit 57a9d96e50 added a
call to the grouptype's get_roles method, without first including
the grouptype class. The grouptype class is not available when
this function is called from the webservice api, so group_update
will call a method that doesn't exist.
Change-Id: I10c861f7e69219 2621ec8372e7a7f 5f25cbd8f6f
Signed-off-by: Richard Mansfield <email address hidden>