Can not delete a role

Created on 18 July 2020, almost 4 years ago
Updated 23 October 2023, 8 months ago

I am unable to delete role. following are the steps to reproduce this error.

  1. Install module
  2. Create a custom role and then try to delete it.

When i debug module, i found a hook, which is no longer needed

function front_page_user_role_delete($role) {
  // Delete Front configuration for the role being deleted.
  Database::getConnection()->delete('front_page')
    ->condition('rid', $role->rid)
    ->execute();
}

🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇮🇳India sagarwani

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024