Skip to content
Snippets Groups Projects
Commit 4127f54d authored by Alexander Hass's avatar Alexander Hass
Browse files

Code style

parent 48601713
No related branches found
No related tags found
No related merge requests found
......@@ -401,7 +401,7 @@ class LinkExtractorService {
protected function isUrlBlacklisted($url) {
// Is url in domain blacklist?
$urls = $this->linkcheckerSetting->get('check.disable_link_check_for_urls');
if (!empty($urls) && preg_match('/' . implode('|', array_map(function ($links) { return preg_quote($links, '/'); }, preg_split('/(\r\n?|\n)/', $urls))) . '/', $url)) {
if (!empty($urls) && preg_match('/' . implode('|', array_map(function ($links) {return preg_quote($links, '/');}, preg_split('/(\r\n?|\n)/', $urls))) . '/', $url)) {
return TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment