From: Max Semenik Date: Thu, 8 Jul 2010 06:53:42 +0000 (+0000) Subject: Update comment: makeLikeArray() is deprecated X-Git-Tag: 1.31.0-rc.0~36219 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=3a83c349f2208c0f7b974262e59ce7bc544a6e97;p=lhc%2Fweb%2Fwiklou.git Update comment: makeLikeArray() is deprecated --- diff --git a/includes/specials/SpecialLinkSearch.php b/includes/specials/SpecialLinkSearch.php index 9fef7d43ad..5ffe8929cf 100644 --- a/includes/specials/SpecialLinkSearch.php +++ b/includes/specials/SpecialLinkSearch.php @@ -114,7 +114,7 @@ class LinkSearchPage extends QueryPage { $field = 'el_index'; $rv = LinkFilter::makeLikeArray( $query , $prot ); if ($rv === false) { - //makeLike doesn't handle wildcard in IP, so we'll have to munge here. + // LinkFilter doesn't handle wildcard in IP, so we'll have to munge here. if (preg_match('/^(:?[0-9]{1,3}\.)+\*\s*$|^(:?[0-9]{1,3}\.){3}[0-9]{1,3}:[0-9]*\*\s*$/', $query)) { $rv = array( $prot . rtrim($query, " \t*"), $dbr->anyString() ); $field = 'el_to';