diff options
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r-- | lib/general.lib.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php index 4ee9796f..a72bb4fd 100644 --- a/lib/general.lib.php +++ b/lib/general.lib.php @@ -556,25 +556,6 @@ function clear_catalog_stats() { } // clear_catalog_stats /** - * check_username - * this function checks to make sure the specified username doesn't already exist - * @package General - * @catagory Users - */ -function check_username($username) { - - $sql = "SELECT username FROM user WHERE username = '" . sql_escape($username) . "'"; - $db_results = mysql_query($sql, dbh()); - - if (mysql_fetch_row($db_results)) { - return false; - } - - return true; - -} // check_username - -/** * scrub_out * This function is used to escape user data that is getting redisplayed * onto the page, it htmlentities the mojo |