mirror of
https://github.com/silverstripe/silverstripe-externallinks.git
synced 2024-10-22 17:05:44 +02:00
Fix incorrect function visibility
This commit is contained in:
parent
ec4c47915a
commit
1fb59f9247
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user