File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
app/code/Magento/User/Controller/Adminhtml/User/Role Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ class SaveRole extends \Magento\User\Controller\Adminhtml\User\Role implements H
5757 *
5858 * @return SecurityCookie
5959 * @deprecated 100.1.0
60- * @see we don't recommend this approach anymore
6160 */
6261 private function getSecurityCookie ()
6362 {
@@ -99,9 +98,6 @@ public function execute()
9998 ->setPid ($ this ->getRequest ()->getParam ('parent_id ' , false ))
10099 ->setRoleType (RoleGroup::ROLE_TYPE )
101100 ->setUserType (UserContextInterface::USER_TYPE_ADMIN );
102- if ($ this ->getRequest ()->getParam ('gws_is_all ' , false )) {
103- $ role ->setGwsWebsites (null )->setGwsStoreGroups (null );
104- }
105101 $ this ->_eventManager ->dispatch (
106102 'admin_permissions_role_prepare_save ' ,
107103 ['object ' => $ role , 'request ' => $ this ->getRequest ()]
You can’t perform that action at this time.
0 commit comments