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

[5.5] Touch parent timestamp only if there are any changes #20489

Merged
merged 1 commit into from
Aug 9, 2017
Merged

[5.5] Touch parent timestamp only if there are any changes #20489

merged 1 commit into from
Aug 9, 2017

Conversation

themsaid
Copy link
Member

@themsaid themsaid commented Aug 9, 2017

Currently even if there are no changes on the child model the parent timestamp gets updated, this PR checks if the model has changes before touching the parent.

@themsaid themsaid changed the title [5.4] Touch parent timestamp only if there are any changes [5.5] Touch parent timestamp only if there are any changes Aug 9, 2017
@taylorotwell taylorotwell merged commit 0c921b1 into laravel:master Aug 9, 2017
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.

2 participants