fix bug in course information's user list when multi url enabled

When multi url is enabled, users of multiple portals are listed in the course information. It seems to me it's a bug fixed with this pull request
Don't need to add "__FILE__, __LINE__"

Is fine with: 

$res = Database::query($sql);