You are here

function site_verify_load in Site verification 6

Same name and namespace in other branches
  1. 7.2 site_verify.module \site_verify_load()
  2. 7 site_verify.module \site_verify_load()

Menu load callback; loads a site verification record.

This also loads the engine details if the record was found.

Parameters

$svid: A site verification ID.

Return value

An array of the site verification record, or FALSE if not found.

1 call to site_verify_load()
site_verify_output in ./site_verify.module

File

./site_verify.module, line 87

Code

function site_verify_load($svid) {
  $record = db_fetch_array(db_query("SELECT svid, engine, file, file_contents, meta FROM {site_verify} WHERE svid = %d", $svid));
  if ($record) {
    $record['engine'] = site_verify_engine_load($record['engine']);
  }
  return $record;
}