From f256eb0a401fc2e113f155f55b54dce8c8dbfce8 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 22 May 2006 22:15:18 +0000 Subject: [PATCH] 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. --- includes/DefaultSettings.php | 6 ------ includes/User.php | 6 ------ 2 files changed, 12 deletions(-) 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 ); -- 2.20.1