function diff_install in Diff 7.3
Same name and namespace in other branches
- 8 diff.install \diff_install()
- 5.2 diff.install \diff_install()
- 5 diff.install \diff_install()
Implements hook_install().
File
- ./
diff.install, line 11 - Provides uninstallation functions.
Code
function diff_install() {
user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array(
'diff view changes',
));
user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array(
'diff view changes',
));
}