Skip to content

Commit

Permalink
MDL-82457 tool_mobile: Remove chat and survey
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentdavid committed Nov 18, 2024
1 parent 6ff1e2e commit d971611
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .upgradenotes/MDL-82457-2024111508390338.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
issueNumber: MDL-82457
notes:
tool_mobile:
- message: Remove chat and survey support from tool_mobile.
type: removed
4 changes: 2 additions & 2 deletions admin/tool/mobile/classes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ public static function get_features_list() {
$availablemods = core_plugin_manager::instance()->get_plugins_of_type('mod');
$coursemodules = array();
$appsupportedmodules = array(
'assign', 'bigbluebuttonbn', 'book', 'chat', 'choice', 'data', 'feedback', 'folder', 'forum', 'glossary', 'h5pactivity',
'imscp', 'label', 'lesson', 'lti', 'page', 'quiz', 'resource', 'scorm', 'survey', 'url', 'wiki', 'workshop');
'assign', 'bigbluebuttonbn', 'book', 'choice', 'data', 'feedback', 'folder', 'forum', 'glossary', 'h5pactivity',
'imscp', 'label', 'lesson', 'lti', 'page', 'quiz', 'resource', 'scorm', 'url', 'wiki', 'workshop');

foreach ($availablemods as $mod) {
if (in_array($mod->name, $appsupportedmodules)) {
Expand Down

0 comments on commit d971611

Please sign in to comment.