error/moodle/notlocalisederrormessage
From MoodleDocs
CLS-eltchyi1
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.