Remove the unused function and config option for opm.blitzed.org.
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 22 May 2006 22:15:18 +0000 (22:15 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 22 May 2006 22:15:18 +0000 (22:15 +0000)
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
includes/User.php

index a5c394f..16db781 100644 (file)
@@ -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
index 2a3a8cf..15d469a 100644 (file)
@@ -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 );