/** * {@inheritdoc} * * Attempt to subscribe the user to the favorited bean after restoring the SugarFavorite bean. * * @param $id */ public function mark_undeleted($id) { parent::mark_undeleted($id); $this->subscribeAfterFavorite(); }