-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deleting function inside boot function isn't called when using LaratrustUserTrait #35
Comments
@nermion There's a problem, because Laratrust uses that deleting function in the soft deleting case. |
@santigarcor Laratrust also uses deleted function but in my user model static:deleted gets called. What is the difference? |
@nermion The only difference i can spot is the |
I could test commenting out 'return true' and see if that works. Does return true need to be there, anything that depends on it? |
The |
@nermion Did you test it? |
Not yet, on my way home will test it in 5 minutes On Monday, September 26, 2016, Santiago García notifications@github.com
|
commenting out 'return true' makes it work. Perhaps you can remove it from that function so that I don't have to edit it my self. |
@nermion does it affects the behavior or something like that? |
It doesn't seem to cause any problems for me. |
@nermion I just tested that out, i'm making the changes now |
great :) |
57b94fb solves it. Tagged v3.0.6 |
Hi Santigarcor how do I get this latest update, my composer file says "santigarcor/laratrust": "3.0.*", when do you release this so that my project has the latest version? |
@nermion well i tagged the version 3.0.6. So you just have to run |
I did run composer update but it did not download the 3.0.6 for me |
actually it maight be my fault :) I'll sort it out |
@nermion ok. |
Inside my User model I have this
deleting function isn't call if I use LaratrustUserTrait, is there way to make sure it gets called as I need to do some stuff inside that function.
The text was updated successfully, but these errors were encountered: