diff options
Diffstat (limited to 'include/db.php')
-rw-r--r-- | include/db.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/db.php b/include/db.php index 3be9494..6568e75 100644 --- a/include/db.php +++ b/include/db.php @@ -141,16 +141,6 @@ function DB_get_version() return $version[0]; } -function DB_get_passwd_by_name($name) -{ - $r = DB_query_array("SELECT password FROM User WHERE fullname=".DB_quote_smart($name).""); - - if($r) - return $r[0]; - else - return ""; -} - function DB_get_passwd_by_userid($id) { $r = DB_query_array("SELECT password FROM User WHERE id=".DB_quote_smart($id).""); |