function social_like_update_8002 in Open Social 8
Same name and namespace in other branches
- 8.9 modules/social_features/social_like/social_like.install \social_like_update_8002()
- 8.2 modules/social_features/social_like/social_like.install \social_like_update_8002()
- 8.3 modules/social_features/social_like/social_like.install \social_like_update_8002()
- 8.4 modules/social_features/social_like/social_like.install \social_like_update_8002()
- 8.5 modules/social_features/social_like/social_like.install \social_like_update_8002()
- 8.6 modules/social_features/social_like/social_like.install \social_like_update_8002()
- 8.7 modules/social_features/social_like/social_like.install \social_like_update_8002()
- 8.8 modules/social_features/social_like/social_like.install \social_like_update_8002()
- 10.3.x modules/social_features/social_like/social_like.install \social_like_update_8002()
- 10.0.x modules/social_features/social_like/social_like.install \social_like_update_8002()
- 10.1.x modules/social_features/social_like/social_like.install \social_like_update_8002()
- 10.2.x modules/social_features/social_like/social_like.install \social_like_update_8002()
Re-set permissions for viewing the like widget.
File
- modules/
social_features/ social_like/ social_like.install, line 32 - Install, update and uninstall functions for the social_like module.
Code
function social_like_update_8002() {
// Revoke permission for AN like widget.
user_role_revoke_permissions('anonymous', [
'view like widget',
]);
}