function key_provider_file_status in Key 7
File
- plugins/
key_provider/ file.inc, line 85
Code
function key_provider_file_status($settings) {
$key = key_provider_file_get_key($settings);
if (!empty($key)) {
$status = array(
'valid' => KEY_STATUS_VALID,
'message' => t('Key found'),
);
}
else {
$status = array(
'valid' => KEY_STATUS_NOT_VALID,
'message' => t('Key not found'),
);
}
return $status;
}