diff --git a/uw_cfg_common.module b/uw_cfg_common.module index 6c537891762e5bc0ad65ee899b062700b4296676..2ae720389b8a7180c46c5637abc7ebc0e9306e21 100644 --- a/uw_cfg_common.module +++ b/uw_cfg_common.module @@ -183,17 +183,6 @@ function uw_cfg_common_toolbar_alter(&$items) { return; } - // Get the roles of the user. - $roles = $current_user->getRoles(); - - // If there is only 1 role and that first role is authenticated, remove the - // manage link. If there are multiple roles then we know that they will have - // the Manage link, we are only removing the manage link for strictly - // authenticated users only. - if (count($roles) == 1 && $roles[0] == 'authenticated') { - // Remove the manage link. - unset($items['administration']); - } // Adjust toolbar for non-admin users. if (!$current_user->hasPermission('access manage toolbar item')) { // Remove "Manage" toolbar item.