Skip to content

Commit 1b2fe68

Browse files
committed
[#120] Fix introformat warning
1 parent c22035c commit 1b2fe68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib.php

+4
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ function observation_supports($feature) {
123123
return true;
124124
case FEATURE_BACKUP_MOODLE2:
125125
return true;
126+
// Activity plugins default this to true, so explicity set to false.
127+
// Since it is not supported by mod_observation.
128+
case FEATURE_MOD_INTRO:
129+
return false;
126130
default:
127131
return null;
128132
}

0 commit comments

Comments
 (0)