Commit 48b0f55d authored by David Metzler's avatar David Metzler
Browse files

#2324549 User tables not prefixed.

parent a67b0813
--ACCESS=access content
select name as role from {users_roles} ur JOIN role r ON r.rid = ur.rid
select name as role from {users_roles} ur JOIN {role} r ON r.rid = ur.rid
WHERE ur.uid = :current_user
--INFO
type[current_user] = int
\ No newline at end of file
--ACCESS=administer users
SELECT u.uid,u.name FROM {role} r JOIN {users_roles} ur ON r.rid=ur.rid
JOIN users u ON ur.uid=u.uid
JOIN {users} u ON ur.uid=u.uid
WHERE r.rid = :role
--INFO
type[role]=int
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment