From 31a282e6ace8a86635e16de12e522686a8e947ce Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 13 Oct 2008 14:33:11 +0200 Subject: remove unused/redundant isvalidemail() function darcs-hash:20081013123311-f07c6-8dc34c8fb9a170fae412a6c37928e601c1728a18.gz --- inc/auth.php | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'inc/auth.php') diff --git a/inc/auth.php b/inc/auth.php index 62a093de4..3966a4d47 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -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 * -- cgit v1.2.3