summaryrefslogtreecommitdiffstats
path: root/lib/general.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-04 07:40:06 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-04 07:40:06 +0000
commit7743d70c68444fc2e20a6a4aa2f9a980203b999e (patch)
tree32d7c68ba195e429bde67e00c73ae6679159e82d /lib/general.lib.php
parent19276f57a9eeacae7829629baa35fcb28d77419f (diff)
downloadampache-7743d70c68444fc2e20a6a4aa2f9a980203b999e.tar.gz
ampache-7743d70c68444fc2e20a6a4aa2f9a980203b999e.tar.bz2
ampache-7743d70c68444fc2e20a6a4aa2f9a980203b999e.zip
fixed browse users, add user, edit user
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r--lib/general.lib.php19
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