Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: error/moodle/notlocalisederrormessage.

error/moodle/notlocalisederrormessage

From MoodleDocs

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.