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