summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorChris Smith <chris.eureka@jalakai.co.uk>2008-10-13 14:33:11 +0200
committerChris Smith <chris.eureka@jalakai.co.uk>2008-10-13 14:33:11 +0200
commit31a282e6ace8a86635e16de12e522686a8e947ce (patch)
tree0e29eea1d7db16bbc3df8ba473eeaba75fa284cb /inc/auth.php
parenta0b5b0074b100dea11db99887fd7145e18fc50d3 (diff)
downloadrpg-31a282e6ace8a86635e16de12e522686a8e947ce.tar.gz
rpg-31a282e6ace8a86635e16de12e522686a8e947ce.tar.bz2
remove unused/redundant isvalidemail() function
darcs-hash:20081013123311-f07c6-8dc34c8fb9a170fae412a6c37928e601c1728a18.gz
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 62a093de4..3966a4d47 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -833,20 +833,6 @@ function act_resendpwd(){
}
/**
- * 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
*
* If the selected method needs a salt and none was given, a random one