ilios/moodle-block-ilios — pull request #10 by ctam (2014-07-24 22:01:43+00:00)
Title: Fixing deprecated function, build_navigation().

Our developer is making the final adjustments to the theme and has come across an challenge with the Ilios calendar block in Moodle version 2.6.x.
It seems that the latest version of this block is made for Moodle 2.0 (or so) and some of the functions used in block are supported until Moodle 2.5.
When we install and work with the block we get the debugging messages below. Have you encountered this error before with testing the block on 2.6 or is there a different version we should use?
I think once the Ilios calendar is working correctly it will not take long to make the theme responsive to it.
Coding error detected, it must be fixed by a programmer: user_login_info() cant be used anymore. User login info is now handled via themes layouts.
More information about this error
Debug info:
Error code: codingerror
Stack trace:
* line 1343 of /lib/deprecatedlib.php: coding_exception thrown
* line 54 of /blocks/ilios/calendar.php: call to user_login_string()
Output buffer:
```

build_navigation() is deprecated, please use $PAGE->navbar methods instead.

line 1988 of /lib/deprecatedlib.php: call to debugging()

line 50 of /blocks/ilios/calendar.php: call to build_navigation()

```
In Moodle 2.6 they are removed and not available. Please find below debugging message.
Benjamin Young
Director, Application Services
Certified Moodle Course Creator
Self-Service Support Knowledge Base: techsupport.lambdasolutions.net