mikehas/mcurl — pull request #6 by eeisenhart (2013-05-15 23:34:40+00:00)
Title: Make this query work in installs with different roleid numbers.

Made a mistake using our local roleid, when we really should've query the roles table for the student role, since it's not guaranteed to be the same in different moodle installs. This fixes that.