Look at some code in this discussion
I have forgotten for what version it is, but I am sure you would need to make some changes. Upgrading Moodle alwyas breaks existing modules and blocks.
Look at some code in this discussion
I have forgotten for what version it is, but I am sure you would need to make some changes. Upgrading Moodle alwyas breaks existing modules and blocks.