Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset
Model::$unset
when a model is saved or refreshed (#2709)
* Override save() and refresh() functions to clear $this->unset * Add tests reset Model::$unset when a model is saved or refreshed --------- Co-authored-by: Richard Fila <“richardfila@capuk.org”> Co-authored-by: Jérôme Tamarelle <jerome@tamarelle.net>
- Loading branch information
1 parent
3ffc759
commit da11d4d
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters