Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
aegir_backup_storage/hosting/hosting_backup_storage.drush.inc /
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
14 lines (11 sloc)
527 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Implementation of drush_hook_pre_hosting_task() | |
| */ | |
| function hosting_backup_storage_hosting_site_context_options(&$task) { | |
| $task->context_options['backup_storage_server'] = hosting_context_name($task->ref->backup_storage_server); | |
| $task->context_options['backup_storage_location_id'] = $task->ref->backup_storage_location_id; | |
| } | |
| function hosting_backup_storage_hosting_server_context_options(&$task) { | |
| $task->context_options['backup_storage_locations'] = $task->ref->services['backup_storage']->locations; | |
| } |