Merge branch 'v0.16' into release
This commit is contained in:
		
						commit
						441e46ebaa
					
				| 
						 | 
				
			
			@ -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();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue