Skip to content

Commit

Permalink
removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-pranav committed Oct 3, 2024
1 parent f201ed3 commit 55ae0a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mlw_quizmaster2.php
Original file line number Diff line number Diff line change
Expand Up @@ -760,8 +760,7 @@ public function qsm_add_user_capabilities() {
$user = wp_get_current_user();
$roles = (array) $user->roles;
$rolename = $roles[0];
// print_r($roles);
// die;

$role = get_role( $rolename );

// Remove all capabilities first.
Expand Down

0 comments on commit 55ae0a4

Please sign in to comment.