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.3] Fix regression in save(touch) option #15264

Merged
merged 1 commit into from
Sep 5, 2016
Merged

[5.3] Fix regression in save(touch) option #15264

merged 1 commit into from
Sep 5, 2016

Conversation

Anahkiasen
Copy link
Contributor

The save() method has a touch option allowing the user to disable touching per-call. However while this is respected during finishSave it isn't anymore during performUpdate as of 7af9cd1 making Eloquent update the timestamps nonetheless.

@@ -1514,10 +1514,11 @@ protected function finishSave(array $options)
/**
* Perform a model update operation.
*
* @param \Illuminate\Database\Eloquent\Builder $query
* @param \Illuminate\Database\Eloquent\Builder $query
Copy link
Member

Choose a reason for hiding this comment

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

Please keep that space

@taylorotwell taylorotwell merged commit 6c3ecdc into laravel:5.3 Sep 5, 2016
@Anahkiasen Anahkiasen deleted the fix/save-touch-option branch September 5, 2016 15:22
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.

3 participants