You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I recall, those lines exist because there are situations where loadPermissionsBatch() is called after some permissions have already been loaded and potentially adjusted, and preserving such adjustments is desired.
In your case, I think you just need to set the $reload parameter of loadPermissionsBatch() to true in order to get the behaviour that you want.
Caveat: I am currently on my phone, so I haven't done a thorough analysis to verify this.
it confused me at first because I left
$profile
null
,, expeting no data to be loaded.Anyway, here my code
Expected result
Actual result
I got results by deleting deez
SMF/Sources/Group.php
Lines 2072 to 2075 in 5ad2a26
Should loading a permission profile be optional?
The text was updated successfully, but these errors were encountered: