From cdfc16d0afa4286cf47b76ccaca3d83fd02ec458 Mon Sep 17 00:00:00 2001 From: Reedy Date: Wed, 4 Jul 2012 00:14:33 +0100 Subject: [PATCH] f-prot isn't so open now, so might aswell not advertise it in DefaultSetttings under antivirus Change-Id: I2f9e1ced05e434655202ee3b425b90344d854065 --- RELEASE-NOTES-1.20 | 1 + includes/DefaultSettings.php | 14 -------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/RELEASE-NOTES-1.20 b/RELEASE-NOTES-1.20 index c1a25e1db1..f357555fe5 100644 --- a/RELEASE-NOTES-1.20 +++ b/RELEASE-NOTES-1.20 @@ -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. diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index e2828b9297..7441932c37 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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', - ), ); -- 2.20.1