removed @ condition

This commit is contained in:
Artem Bondarenko 2021-02-01 10:25:11 +02:00 committed by David Garcia
parent d0f6d3b70f
commit bae524d854

View File

@ -249,12 +249,6 @@ class EmailValidationV4 extends HttpApi
} elseif (isset($filePath['filePath'])) {
// File form path
$path = $filePath['filePath'];
// Remove leading @ symbol
if (0 === strpos($path, '@')) {
$path = substr($path, 1);
}
$resource = fopen($path, 'r');
}