Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dan Brown
2017-06-04 15:38:29 +0100
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Commit
441e46ebaa92fed73d99000226b58b81857ac876
441e46eb
2 parents
1f4260f3
f99c8ff9
Merge branch 'v0.16' into release
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Services/PermissionService.php
app/Services/PermissionService.php
View file @
441e46e
...
...
@@ -259,7 +259,7 @@ class PermissionService
$roleIds
=
array_map
(
function
(
$role
)
{
return
$role
->
id
;
},
$roles
);
$this
->
jointPermission
->
newQuery
()
->
whereIn
(
'id'
,
$roleIds
)
->
delete
();
$this
->
jointPermission
->
newQuery
()
->
whereIn
(
'
role_
id'
,
$roleIds
)
->
delete
();
}
/**
...
...
Please
register
or
sign in
to post a comment