function hosting_platform_post_hosting_lock_task in Hosting 6.2
Same name and namespace in other branches
- 7.4 platform/hosting_platform.drush.inc \hosting_platform_post_hosting_lock_task()
- 7.3 platform/hosting_platform.drush.inc \hosting_platform_post_hosting_lock_task()
File
- platform/
hosting_platform.drush.inc, line 116 - 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);
}