src/BoomCMS/Observers/DeletionLogObserver.php
public function deleting(Model $model)
    {
        $model->deleted_by = $this->guard->check() ? $this->guard->user()->getId() : null;
    }
public function deleting(Model $model)
    {
        $model->deleted_by = $this->guard->check() ? $this->guard->user()->getId() : null;
    }
public function deleting ( Model $ model ) { $ model -> deleted_by = $ this -> guard -> check ( ) ? $ this -> guard -> user ( ) -> getId ( ) : null ; }
Set deleted_by on the model prior to deletion.

@param Model $model

@return void
Set deleted_by on the model prior to deletion .