Browse Source

Temporarily disable e-mail filter because results are incoherent and prevent e-mail password reminder

Yannick Warnier 13 years ago
parent
commit
7db37248ce
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main/inc/lib/main_api.lib.php

+ 1 - 0
main/inc/lib/main_api.lib.php

@@ -693,6 +693,7 @@ function api_valid_url($url, $absolute = false) {
  * @return mixed            Returns the e-mail if it is valid, FALSE otherwise.
  */
 function api_valid_email($address) {
+    // disable for now because the results are incoherent - YW 20110926
     if (function_exists('filter_var')) { // Introduced in PHP 5.2.
         return filter_var($address, FILTER_VALIDATE_EMAIL);
     } else {