Commit 563fa715 by Daniel Ruf

removed duplicate code part

parent 6ecbb2f5
...@@ -36,11 +36,6 @@ ...@@ -36,11 +36,6 @@
return sha1(substr($salt, 0, 8).$password.substr($salt, 8)); return sha1(substr($salt, 0, 8).$password.substr($salt, 8));
} }
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../');
exit;
}
function qa_db_user_create($email, $password, $handle, $level, $ip) function qa_db_user_create($email, $password, $handle, $level, $ip)
/* /*
Create a new user in the database with $email, $password, $handle, privilege $level, and $ip address Create a new user in the database with $email, $password, $handle, privilege $level, and $ip address
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment