Fixing CurlLinkChecker::checkLink() using incorrect visibility

This commit is contained in:
Sean Harvey 2014-08-13 13:48:33 +12:00
parent ec4c47915a
commit 486ccec95c
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class CurlLinkChecker implements LinkChecker {
* @param string $href URL to check
* @return int HTTP status code, or null if not checkable (not a link)
*/
protected function checkLink($href) {
public function checkLink($href) {
// Skip non-external links
if(!preg_match('/^https?[^:]*:\/\//', $href)) return null;