You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that _rt_softdelete was 'always' set to true and _rt_softrestore 'always' set to false. To detect the change I'd check by using $this->deleted_by
I tried to detect in afterSave if the model was soft deleted but i can't because it always return true even I deleted it
public function afterSave($insert, $changedAttributes) { var_dump($this->_rt_softdelete); parent::afterSave($insert, $changedAttributes); }
The text was updated successfully, but these errors were encountered: