function nodesquirrel_check_secret_key in Backup and Migrate 7.2
Same name and namespace in other branches
- 6.3 includes/destinations.nodesquirrel.inc \nodesquirrel_check_secret_key()
- 6.2 includes/destinations.nodesquirrel.inc \nodesquirrel_check_secret_key()
Check that a nodesquirel key is valid.
1 call to nodesquirrel_check_secret_key()
- nodesquirrel_settings in includes/
destinations.nodesquirrel.inc - NodeSquirrel settings form.
File
- includes/
destinations.nodesquirrel.inc, line 20 - 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;
}