Does a local plugin lib.php have to include local_{pluginname}_extend_settings_navigation

Re: Does a local plugin lib.php have to include local_{pluginname}_extend_settings_navigation

by Andreas Grabs -
Number of replies: 1
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Translators

Hi Jeff,

those hook functions are cached by moodle. So if you remove such function from your lib.php you have to purge the cache so moodle does know about it.

Best regards
Andreas

Average of ratings: Useful (2)
In reply to Andreas Grabs

Re: Does a local plugin lib.php have to include local_{pluginname}_extend_settings_navigation

by Flotter Totte -
Picture of Plugin developers
I had the same problem as Jeff. Purging cache (alone) did not help. What I did is:
1. Uninstalled the plugin (until the point where all DB items were reomved)
2. Purged all caches
3. Re-installed the plugin