Skip to content

Commit

Permalink
Fix incorrectly resolved rebase conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed May 17, 2022
1 parent feefd36 commit 25688e0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions modules/user_accounts/php/edit_user.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -935,16 +935,7 @@ class Edit_User extends \NDB_Form
= self::canRejectAccount(\User::factory($this->identifier));
}

// get the editor's permissions
if ($editor->hasPermission('superuser')) {
$query = "SELECT p.permID, p.code, p.description, pc.Description as type
FROM permissions p
LEFT JOIN permissions_category pc ON (pc.ID=p.categoryID)
ORDER BY p.categoryID, p.description";
$perms = $factory->database()->pselect($query, []);
} else {
$perms = $editor->getPermissionsVerbose($this->lorisinstance);
}
$perms = $editor->getPermissionsVerbose($this->lorisinstance);

$lastRole = '';
$group = [];
Expand Down

0 comments on commit 25688e0

Please # to comment.