search: Remove unused deprecated methods replaced by MW Services
[lhc/web/wiklou.git] / includes / search / SearchNearMatcher.php
index 0a64493..9ee3e17 100644 (file)
@@ -165,7 +165,7 @@ class SearchNearMatcher {
                # Quoted term? Try without the quotes...
                $matches = [];
                if ( preg_match( '/^"([^"]+)"$/', $searchterm, $matches ) ) {
-                       return self::getNearMatch( $matches[1] );
+                       return $this->getNearMatch( $matches[1] );
                }
 
                return null;