Git commits in Moodle 2.0.x by gustav_delius

commit 84dfbdd2f6a62d697d8195417d6dcbec05311dd0
Author: gustav_delius <gustav_delius>
Date:   Tue, 16 Oct 2007 16:42:23 +0800
Tag:    v2.0.0-rc1

Fixed error in the SQL in get_users_by_capability() that made many things not work properly on the course front page.