MDL-18910 moving modedit features to modname_supports()
[moodle.git] / mod / glossary / lib.php
index 3b69bd6..da878e7 100644 (file)
@@ -2274,8 +2274,14 @@ function glossary_get_extra_capabilities() {
  */
 function glossary_supports($feature) {
     switch($feature) {
+        case FEATURE_GROUPS:                  return false;
+        case FEATURE_GROUPINGS:               return false;
+        case FEATURE_GROUPMEMBERSONLY:        return true;
+        case FEATURE_MODEDIT_INTRO_EDITOR:    return true;
         case FEATURE_COMPLETION_TRACKS_VIEWS: return true;
-        case FEATURE_GRADE_HAS_GRADE: return true;
+        case FEATURE_GRADE_HAS_GRADE:         return true;
+        case FEATURE_GRADE_OUTCOMES:          return true;
+
         default: return null;
     }
 }