-
Hi, |
Beta Was this translation helpful? Give feedback.
Answered by
angeljqv
Aug 28, 2023
Replies: 1 comment
-
I do this if ($myModel->status != 'p' ) { //not published
MyModelClass::disableAuditing();
}
$myModel->save();
MyModelClass::enableAuditing(); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
parallels999
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I do this