Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Winkler <git@lw1.at>2019-07-14 23:06:04 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-07-14 23:06:04 +0300
commit0d9978be99479cf2b33720fca944947c6cbffeec (patch)
tree57b3ebadae1264edea67c83da7eff4368b83e235 /config/global.php
parent71932a7ce95eef0af224dd793a037a66b4970a1d (diff)
use PHP filter to validate E-Mails (#14476)
* use PHP filter to validate E-Mails * remove failing test * only test with ASCII TLDs as others seem to fail * remove Zend_Validate_EmailAddress config and class
Diffstat (limited to 'config/global.php')
-rw-r--r--config/global.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/config/global.php b/config/global.php
index dbf70c1648..089536219f 100644
--- a/config/global.php
+++ b/config/global.php
@@ -150,7 +150,7 @@ return array(
if (!empty($general['login_whitelist_ip']) && is_array($general['login_whitelist_ip'])) {
$ips = $general['login_whitelist_ip'];
}
-
+
$ipsResolved = array();
foreach ($ips as $ip) {
@@ -201,13 +201,6 @@ return array(
return $transport;
},
- 'Zend_Validate_EmailAddress' => function () {
- return new \Zend_Validate_EmailAddress(array(
- 'hostname' => new \Zend_Validate_Hostname(array(
- 'tld' => false,
- ))));
- },
-
'Piwik\Tracker\VisitorRecognizer' => DI\object()
->constructorParameter('trustCookiesOnly', DI\get('ini.Tracker.trust_visitors_cookies'))
->constructorParameter('visitStandardLength', DI\get('ini.Tracker.visit_standard_length'))