Commit cf00c13b authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Make Annotation block disabled by default"

parents 1bb91904 ffd9f1fc
......@@ -333,4 +333,10 @@ class PluginBlocktypeAnnotation extends SystemBlocktype {
'mahara' => array('Close')
);
}
public static function postinst($fromversion) {
if ($fromversion == 0) {
set_field('blocktype_installed', 'active', 0, 'artefactplugin', 'annotation');
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment