function nodesquirrel_check_secret_key in Backup and Migrate 6.3
Same name and namespace in other branches
- 6.2 includes/destinations.nodesquirrel.inc \nodesquirrel_check_secret_key()
- 7.2 includes/destinations.nodesquirrel.inc \nodesquirrel_check_secret_key()
Check that a nodesquirel key is valid.
1 call to nodesquirrel_check_secret_key()
- backup_migrate_nodesquirrel_settings_form in includes/
destinations.nodesquirrel.inc - NodeSquirrel settings form.
File
- includes/
destinations.nodesquirrel.inc, line 15 - Functions to handle the NodeSquirrel backup destination.
Code
function nodesquirrel_check_secret_key($secret_key) {
if ($destination = nodesquirrel_get_destination($secret_key)) {
if ($destination
->confirm_destination()) {
return $destination;
}
}
return FALSE;
}