/** * Save the CSV for this page. */ protected function save() { if (parent::save()) { $this->userMessage("The CSV file has been uploaded."); } else { $this->userMessage("An error occurred trying to upload your file."); } $this->setRedirect("view?id=" . $this->person->getNameId()); return true; }
/** * Save the CSV for this page. */ protected function save() { if (parent::save()) { $this->userMessage("The CSV file has been uploaded."); } else { $this->userMessage("An error occurred trying to upload your file."); } $this->setRedirect("viewprovider?id=" . $this->instance->getNameId()); }