mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accesslib: get_user_by_capability() - Move hidden RA checks to subselect
we don't deal with RAs in the main SELECT -- we deal with _capabilities_ which is an entirely different matter ;-) -- so push the ra.hidden check into the subselect. Also, remove ra.hidden from the default list of fields. Hopefully no callers are using ra.hidden -- if they are, they should be calling something else, as this function deals with capabilities. So we might need an audit of callers, to check that noone is expecting ra.hidden to be there. MDL-12452
- Loading branch information
martinlanghoff
committed
Jan 6, 2008
1 parent
a4436c6
commit d2c5b7a
Showing
1 changed file
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters