CS fixes, refs #1419
parent
702742e15f
commit
5fd19f63dd
|
@ -625,7 +625,7 @@ class Installer
|
|||
}
|
||||
|
||||
foreach ($this->updateWhitelist as $whiteListedPattern => $void) {
|
||||
$cleanedWhiteListedPattern = str_replace('\*', '.*', preg_quote($whiteListedPattern));
|
||||
$cleanedWhiteListedPattern = str_replace('\\*', '.*', preg_quote($whiteListedPattern));
|
||||
|
||||
if (preg_match("#^".$cleanedWhiteListedPattern."$#i", $package->getName())) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue