-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.2
-
MOODLE_401_STABLE
-
MOODLE_402_STABLE
-
MDL-77701-master -
In MDL-67789, 2 new admin settings were added: enablesavestate and savestatefreq. The Moodle app needs these settings to be able to support the feature.
There are several WebServices where these settings could be returned:
- tool_mobile_get_config: this WS is used to return some site settings (mostly tool_mobile settings and $CFG values). Since the new settings are related to the h5pactivity it can look a bit weird to return them here.
- mod_h5pactivity_get_h5pactivity_access_information. The main problem is that the settings will be returned for each activity, while they are unique for all activities.
- mod_h5pactivity_get_h5pactivities_by_courses. The app usually calls this WS once per course, so it reduces the problem of point 2. We'll still "replicate" the settings for each WS call though.
There is no perfect solution, but IMO the best one is number 3.