Skip to content

Commit

Permalink
Merge pull request #24361 from demeritcowboy/unused-funcs
Browse files Browse the repository at this point in the history
Unused functions in CRM_Upgrade_Form
  • Loading branch information
eileenmcnaughton authored Aug 23, 2022
2 parents a04ee8d + 09a5460 commit f5eb717
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions CRM/Upgrade/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,36 +221,6 @@ public function getButtonTitle() {
return ts('Continue');
}

/**
* Use the form name to create the tpl file name.
*
* @return string
*/

/**
* @return string
*/
public function getTemplateFileName() {
$this->assign('title',
$this->getFieldsetTitle()
);
$this->assign('message',
$this->getTemplateMessage()
);
return 'CRM/Upgrade/Base.tpl';
}

public function postProcess() {
$this->upgrade();

if (!$this->verifyPostDBState($errorMessage)) {
if (!isset($errorMessage)) {
$errorMessage = 'post-condition failed for current upgrade step';
}
throw new CRM_Core_Exception($errorMessage);
}
}

/**
* @param $version
*
Expand Down

0 comments on commit f5eb717

Please sign in to comment.