itamart/moodle-local_loginas — pull request #1 by stronk7 (2013-09-29 15:12:56+00:00)
Title: Provide 2.6 transparent compatibility.

session_is_loggedinas() is deprecated for 2.6 and up. To avoid
developers getting debugging messages about that just verify if
the new method exists.