function hosting_task_update_7001 in Hosting 7.3
Same name and namespace in other branches
- 7.4 task/hosting_task.install \hosting_task_update_7001()
Grant aegir clients 'create login-reset task' permission.
File
- task/
hosting_task.install, line 339 - Define the database schema and update functions for the hosting_task module.
Code
function hosting_task_update_7001() {
$role = user_role_load_by_name('aegir client');
if ($role) {
user_role_grant_permissions($role->rid, array(
'create login-reset task',
));
}
}