function backup_migrate_nodesquirrel_check_secret_key in Backup and Migrate 8.3
Check that a nodesquirel key is valid.
File
- includes/
destinations.nodesquirrel.inc, line 13 - Functions to handle the NodeSquirrel backup destination.
Code
function backup_migrate_nodesquirrel_check_secret_key($secret_key) {
if ($destination = backup_migrate_nodesquirrel_get_destination($secret_key)) {
if ($destination
->confirm_destination()) {
return $destination;
}
}
return FALSE;
}