Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: Course contents add-on
-
Labels:
-
Testing Instructions:
- Force a module handler isEnabled function to return false.
- Check that the module is not supported in the app anymore.
-
Affected Branches:MOODLE_20_STABLE
-
Fixed Branches:MOODLE_20_STABLE
-
Pull Master Diff URL:
Description
When the isEnabled function defined by handlers return a boolean it is always treated as true since $q.when(true/false) always resolves the promise.