-
Improvement
-
Resolution: Fixed
-
Minor
-
3.7.1
-
MOODLE_37_STABLE
-
MOODLE_38_STABLE
-
MDL-66229-master -
Right now, the only way to dynamically disable a plugin in the app is to throw a PHP exception in the init function. Using exceptions as normal code control flow isn't recommended and it's causing us some problems in the app since we can't determine if the plugin failed or it's disabled.
We could add a new return param called "disabled". If we receive a true (or 1) in this field when calling the init function, the app will disabled that handler.
- blocks
-
MOBILE-3102 Make CoreMainMenuDelegate handlers optional without throwing an exception
-
- Closed
-