piersharding / moodle-tool_uploadcoursecategory

Moodle Admin Tools plugin for basic upload of course categories
23 stars 13 forks source link

PHP Fatal Error with Moodle 2.9 #5

Open sebmehr opened 9 years ago

sebmehr commented 9 years ago

Hello,

Since Moodle 2.9, the plugin creates a fatal error with using the textlib class. It's possible to fix it : simply replace the textlib class with the new alias core_text in every files :

https://docs.moodle.org/dev/String_API#textlib_.28core_text.29_class

Some functions are deprecated but it only generates notices without blocking the execution.

Thank a lot for your work. it saves us a lot of time :+1:

piersharding commented 9 years ago

Should be fixed in HEAD now - can you check, please.

sebmehr commented 9 years ago

It's working ;-)

Thank you !