f-prot isn't so open now, so might aswell not advertise it in DefaultSetttings under...
authorReedy <reedy@wikimedia.org>
Tue, 3 Jul 2012 23:14:33 +0000 (00:14 +0100)
committerReedy <reedy@wikimedia.org>
Tue, 3 Jul 2012 23:15:59 +0000 (00:15 +0100)
Change-Id: I2f9e1ced05e434655202ee3b425b90344d854065

RELEASE-NOTES-1.20
includes/DefaultSettings.php

index c1a25e1..f357555 100644 (file)
@@ -22,6 +22,7 @@ upgrade PHP if you have not done so prior to upgrading MediaWiki.
   path info from REQUEST_URI if it's available.
 * The user right 'upload_by_url' is no longer given to sysops by default.
   This only affects installations which have $wgAllowCopyUploads set to true.
+* Removed f-prot support from $wgAntivirusSetup.
 
 === New features in 1.20 ===
 * Added TitleIsAlwaysKnown hook which gets called when determining if a page exists.
index e2828b9..7441932 100644 (file)
@@ -912,20 +912,6 @@ $wgAntivirusSetup = array(
 
                'messagepattern' => '/.*?:(.*)/sim',
        ),
-
-       #setup for f-prot
-       'f-prot' => array (
-               'command' => "f-prot ",
-
-               'codemap' => array (
-                       "0" => AV_NO_VIRUS, # no virus
-                       "3" => AV_VIRUS_FOUND, # virus found
-                       "6" => AV_VIRUS_FOUND, # virus found
-                       "*" => AV_SCAN_FAILED, # else scan failed
-               ),
-
-               'messagepattern' => '/.*?Infection:(.*)$/m',
-       ),
 );