$USER object in moodle 3.1

Re: $USER object in moodle 3.1

by Mouhammad Alaa Aldeen Salih -
Number of replies: 0
Hi Ibrahim,

Fetch from {user} table, try logging out and logging in again, because the attributes for the global variable $USER are stored in the SESSION.