Loading acb.module +0 −2 Original line number Diff line number Diff line Loading @@ -135,8 +135,6 @@ function acb_node_grants_alter(&$grants, AccountInterface $account, $op) { // ACL requires special care. The responsible module can only be determined by using the database. if (\Drupal::moduleHandler()->moduleExists('acl')) { // TODO: Drupal Rector Notice: Please delete the following comment after you've made any necessary changes. // You will need to use `\Drupal\core\Database\Database::getConnection()` if you do not yet have access to the container here. $acl = \Drupal::database()->select('acl') ->fields('acl', ['acl_id','module']) ->execute() Loading Loading
acb.module +0 −2 Original line number Diff line number Diff line Loading @@ -135,8 +135,6 @@ function acb_node_grants_alter(&$grants, AccountInterface $account, $op) { // ACL requires special care. The responsible module can only be determined by using the database. if (\Drupal::moduleHandler()->moduleExists('acl')) { // TODO: Drupal Rector Notice: Please delete the following comment after you've made any necessary changes. // You will need to use `\Drupal\core\Database\Database::getConnection()` if you do not yet have access to the container here. $acl = \Drupal::database()->select('acl') ->fields('acl', ['acl_id','module']) ->execute() Loading