You are here

function aes_password_exists in AES encryption 6

Same name and namespace in other branches
  1. 5 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 417

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;
  }
}