Skip to content

Can't detect if in the model function beforesave the object is soft deleted #159

@victormatuk

Description

@victormatuk

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); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions