MDL-50887 antivirus: clamav is standard plugin, missing strings
authorMarina Glancy <marina@moodle.com>
Wed, 2 Mar 2016 07:42:35 +0000 (15:42 +0800)
committerMarina Glancy <marina@moodle.com>
Wed, 2 Mar 2016 07:42:35 +0000 (15:42 +0800)
lang/en/plugin.php
lib/classes/plugin_manager.php

index 5825598..335cc75 100644 (file)
@@ -105,6 +105,8 @@ $string['status_upgrade'] = 'To be upgraded';
 $string['status_uptodate'] = 'Installed';
 $string['supportedmoodleversions'] = 'Supported Moodle versions';
 $string['systemname'] = 'Identifier';
+$string['type_antivirus'] = 'Antivirus plugin';
+$string['type_antivirus_plural'] = 'Antivirus plugins';
 $string['type_auth'] = 'Authentication method';
 $string['type_auth_plural'] = 'Authentication methods';
 $string['type_availability'] = 'Availability restriction';
index c553517..48e08f3 100644 (file)
@@ -1684,6 +1684,10 @@ class core_plugin_manager {
 
         $standard_plugins = array(
 
+            'antivirus' => array(
+                'clamav'
+            ),
+
             'atto' => array(
                 'accessibilitychecker', 'accessibilityhelper', 'align',
                 'backcolor', 'bold', 'charmap', 'clear', 'collapse', 'emoticon',