original_string: public static function cm_updated(\core\event\course_module_updated $event) {
          if ($event->other['modulename'] !== 'glossary') {
              return;
          }
          // We do not know what changed exactly, so let's reset everything that might be affected.
          concept_cache::reset_course_muc($event->courseid);
          concept_cache::reset_global_muc();
      }
code: public static function cm_updated(\core\event\course_module_updated $event) {
          if ($event->other['modulename'] !== 'glossary') {
              return;
          }
          // We do not know what changed exactly, so let's reset everything that might be affected.
          concept_cache::reset_course_muc($event->courseid);
          concept_cache::reset_global_muc();
      }
code_tokens: public static function cm_updated ( \ core \ event \ course_module_updated $ event ) { if ( $ event -> other [ 'modulename' ] !== 'glossary' ) { return ; } // We do not know what changed exactly, so let's reset everything that might be affected. concept_cache :: reset_course_muc ( $ event -> courseid ) ; concept_cache :: reset_global_muc ( ) ; }
docstring: Event observer, do not call directly.
  @param \core\event\course_module_updated $event
docstring_tokens: Event observer do not call directly .