updated elysia_cron, elfinder, metatag, libraries, email_registration, migrate, nodeform_cols

This commit is contained in:
2019-05-13 18:03:41 +02:00
parent e08a2639c6
commit 58cd990c8c
346 changed files with 8636 additions and 4770 deletions

View File

@@ -133,9 +133,14 @@ function diff_update_7306() {
}
/**
* Grants access to the Diff "View Changes" button permission to all users.
* Grants access to the Diff "View Changes" button permission to all users
* if the Diff module is enabled. You need to manually update the permissions
* if the module is currently disabled.
*/
function diff_update_7307() {
user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('diff view changes'));
user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('diff view changes'));
// The update hooks run even if disabled, and this throws an error.
if (module_exists('diff')) {
user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('diff view changes'));
user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('diff view changes'));
}
}