Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Classes | Namespaces
post_install.php File Reference

Ad-hoc task to perform post install tasks. More...

Classes

class  tool_moodlenet\task\post_install
 

Namespaces

namespace  tool_moodlenet\task
  
 

Detailed Description

Ad-hoc task to perform post install tasks.

We use this to set the active activity chooser footer plugin to tool_moodlenet. We couldn't do this directly in install.php, because there is an admin_apply_default_settings() call after all plugins are installed and that would reset whatever value we had set earlier to 'hidden'.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later