Skip to content
Snippets Groups Projects
Commit 26ef8a23 authored by Oskari Kulmala's avatar Oskari Kulmala Committed by Shelane French
Browse files

Issue #3288770 by robphillips, oakulm: Automated Drupal 10 compatibility fixes

parent 2e9296aa
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ function node_access_rebuild_progressive_trigger() {
node_access_needs_rebuild(FALSE);
// Add default grants in the unlikely case
// no modules implement node_grants anymore.
if (!count(\Drupal::moduleHandler()->hasImplementations('node_grants'))) {
if (\Drupal::moduleHandler()->hasImplementations('node_grants')) {
node_access_rebuild_progressive_set_default();
return node_access_rebuild_progressive_finished();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment