Skip to content
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

[4.x] Add notifications method to AugmentedUser #10022

Closed

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented May 9, 2024

This pull request adds a notifications method to the AugmentedUser class to prevent it falling back to the notifications method on the User when Laravel's Notifiable trait is present.

Fixes #9932.
Replaces #9936.

duncanmcclean and others added 30 commits February 1, 2024 09:40
Fix failing Antlers tests
Co-authored-by: duncanmcclean <[email protected]>
Co-authored-by: Jason Varga <[email protected]>
# Conflicts:
#	src/Structures/TreeBuilder.php
Copy link
Member

@jasonvarga jasonvarga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please target 4.x

@duncanmcclean duncanmcclean changed the base branch from master to 4.x May 9, 2024 14:20
@duncanmcclean duncanmcclean changed the title [5.x] Add notifications method to AugmentedUser [4.x] Add notifications method to AugmentedUser May 9, 2024
@duncanmcclean duncanmcclean force-pushed the fix/prevent-calling-notifications-method-on-user-v5 branch from 4f9c4ea to 29e3835 Compare May 9, 2024 14:22
@duncanmcclean duncanmcclean deleted the fix/prevent-calling-notifications-method-on-user-v5 branch May 9, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Having a column in the users table of notifications prevents the control panel loading
8 participants