get_my_courses() - bugfix in sitewide-login-as support.
get_my_courses() - bugfix in sitewide-login-as support.

Oops. The supportfor login-as was buggy now with sitewide
loginas. Now works in both.

dilawar/moodle