Skip to content
Snippets Groups Projects
Commit 31a282e6 authored by Chris Smith's avatar Chris Smith
Browse files

remove unused/redundant isvalidemail() function

darcs-hash:20081013123311-f07c6-8dc34c8fb9a170fae412a6c37928e601c1728a18.gz
parent a0b5b007
No related branches found
No related tags found
No related merge requests found
......@@ -832,20 +832,6 @@ function act_resendpwd(){
return false; // never reached
}
/**
* Uses a regular expresion to check if a given mail address is valid
*
* May not be completly RFC conform!
*
* @link http://www.webmasterworld.com/forum88/135.htm
*
* @param string $email the address to check
* @return bool true if address is valid
*/
function isvalidemail($email){
return eregi("^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,4}$", $email);
}
/**
* Encrypts a password using the given method and salt
*
......
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