From: Brion Vibber Date: Mon, 22 May 2006 22:15:18 +0000 (+0000) Subject: Remove the unused function and config option for opm.blitzed.org. X-Git-Tag: 1.31.0-rc.0~57058 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=f256eb0a401fc2e113f155f55b54dce8c8dbfce8;p=lhc%2Fweb%2Fwiklou.git Remove the unused function and config option for opm.blitzed.org. The service shut down a couple weeks ago, and the support was never switched in to where you could use it anyway. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index a5c394f5a9..16db781bfc 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1792,12 +1792,6 @@ $wgDisableHardRedirects = false; */ $wgEnableSorbs = false; -/** - * Use opm.blitzed.org to check for open proxies. - * Not yet actually used. - */ -$wgEnableOpm = false; - /** * Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other * methods might say diff --git a/includes/User.php b/includes/User.php index 2a3a8cf19a..15d469a5a8 100644 --- a/includes/User.php +++ b/includes/User.php @@ -480,12 +480,6 @@ class User { $this->inDnsBlacklist( $ip, 'http.dnsbl.sorbs.net.' ); } - function inOpmBlacklist( $ip ) { - global $wgEnableOpm; - return $wgEnableOpm && - $this->inDnsBlacklist( $ip, 'opm.blitzed.org.' ); - } - function inDnsBlacklist( $ip, $base ) { $fname = 'User::inDnsBlacklist'; wfProfileIn( $fname );