diff --git a/core/modules/node/node.install b/core/modules/node/node.install index d959f80dfcdf145adfebfd1aca99201196e9a5a8..0933843681d1281554ad5932c6f786ca4ac459ba 100644 --- a/core/modules/node/node.install +++ b/core/modules/node/node.install @@ -6,7 +6,6 @@ */ use Drupal\Core\Url; -use Drupal\Core\Database\Database; use Drupal\user\RoleInterface; /** @@ -132,18 +131,6 @@ function node_install(): void { user_role_grant_permissions(RoleInterface::ANONYMOUS_ID, ['access content']); user_role_grant_permissions(RoleInterface::AUTHENTICATED_ID, ['access content']); } - - // Populate the node access table. - Database::getConnection()->insert('node_access') - ->fields([ - 'nid' => 0, - 'gid' => 0, - 'realm' => 'all', - 'grant_view' => 1, - 'grant_update' => 0, - 'grant_delete' => 0, - ]) - ->execute(); } /**