Function isteacherinanycourse() was removed, please use capabilities instead!
An attempt to bring a Moodle 1.9 solution to v2.0 ending in failure. The function filtered Teachers at the front page and allowed them to view hidden news items. Obviously there is another solution, that is develop a new Role for some people. Base the new Role on Authenticated User and just give the Permissions required for what you want them to be able to do.