original_string: public static function reset_glossary($glossary) {
          if (!$glossary->usedynalink) {
              return;
          }
          self::reset_course_muc($glossary->course);
          if ($glossary->globalglossary) {
              self::reset_global_muc();
          }
      }
code: public static function reset_glossary($glossary) {
          if (!$glossary->usedynalink) {
              return;
          }
          self::reset_course_muc($glossary->course);
          if ($glossary->globalglossary) {
              self::reset_global_muc();
          }
      }
code_tokens: public static function reset_glossary ( $ glossary ) { if ( ! $ glossary -> usedynalink ) { return ; } self :: reset_course_muc ( $ glossary -> course ) ; if ( $ glossary -> globalglossary ) { self :: reset_global_muc ( ) ; } }
docstring: Utility method to purge caches related to given glossary.
  @param \stdClass $glossary
docstring_tokens: Utility method to purge caches related to given glossary .