function hosting_platform_post_hosting_lock_task in Hosting 7.3
Same name and namespace in other branches
- 6.2 platform/hosting_platform.drush.inc \hosting_platform_post_hosting_lock_task()
- 7.4 platform/hosting_platform.drush.inc \hosting_platform_post_hosting_lock_task()
@todo Please document this function.
See also
File
- platform/
hosting_platform.drush.inc, line 137 - Implement drush hooks for the Platforms module.
Code
function hosting_platform_post_hosting_lock_task($task, $data) {
$task->ref->platform_status = HOSTING_PLATFORM_LOCKED;
$task->ref->no_verify = TRUE;
node_save($task->ref);
}