You are here

function aes_password_exists in AES encryption 5

Same name and namespace in other branches
  1. 6 aes.module \aes_password_exists()
  2. 7 aes.module \aes_password_exists()
2 calls to aes_password_exists()
aes_show_password_page in ./aes.module
aes_user in ./aes.module

File

./aes.module, line 300

Code

function aes_password_exists($uid) {
  $result = db_query("SELECT uid FROM {aes_passwords} WHERE uid=%d", $uid);
  if (db_fetch_array($result) !== false) {
    return true;
  }
  else {
    return false;
  }
}