* Note: This function is called iteratively for each upcoming
* revision to the database.
*
- * @param $postUpgradeMessage string, alterable
+ * @param $preUpgradeMessage
* @param $rev string, a version number, e.g. '4.4.alpha1', '4.4.beta3', '4.4.0'
+ * @param null $currentVer
+ *
+ * @internal param string $postUpgradeMessage , alterable
* @return void
*/
function setPreUpgradeMessage(&$preUpgradeMessage, $rev, $currentVer = NULL) {
/**
* Add defaults for the newly introduced name fields configuration in 'contact_edit_options' setting
*
+ * @param CRM_Queue_TaskContext $ctx
+ *
* @return bool TRUE for success
*/
static function addNameFieldOptions(CRM_Queue_TaskContext $ctx) {
}
/**
- * Syntatic sugar for adding a task which (a) is in this class and (b) has
+ * Syntactic sugar for adding a task which (a) is in this class and (b) has
* a high priority.
*
* After passing the $funcName, you can also pass parameters that will go to
* Note: This function is called iteratively for each upcoming
* revision to the database.
*
- * @param $postUpgradeMessage string, alterable
+ * @param $preUpgradeMessage
* @param $rev string, a version number, e.g. '4.4.alpha1', '4.4.beta3', '4.4.0'
+ * @param null $currentVer
+ *
+ * @internal param string $postUpgradeMessage , alterable
* @return void
*/
function setPreUpgradeMessage(&$preUpgradeMessage, $rev, $currentVer = NULL) {
END;
";
CRM_Core_DAO::executeQuery($query, array(), TRUE, NULL, FALSE, FALSE);
-
+
// CRM-13998 : missing alter statements for civicrm_report_instance
$this->addTask(ts('Confirm civicrm_report_instance sql table for upgrades'), 'updateReportInstanceTable');
/**
* Migrate word-replacements from $config to civicrm_word_replacement
*
+ * @param CRM_Queue_TaskContext $ctx
+ *
* @return bool TRUE for success
* @see http://issues.civicrm.org/jira/browse/CRM-13187
*/
* (the original name in 4.4.0) to "UI_domain_find" (the new name in
* 4.4.1).
*
+ * @param CRM_Queue_TaskContext $ctx
+ * @param $rev
+ *
* @return bool TRUE for success
* @see http://issues.civicrm.org/jira/browse/CRM-13655
*/
CRM_Core_BAO_WordReplacement::rebuild();
}
-
+
/***
* CRM-13998 missing alter statements for civicrm_report_instance
***/
public function updateReportInstanceTable() {
- // add civicrm_report_instance.name
+ // add civicrm_report_instance.name
$sql = "SELECT count(*) FROM information_schema.columns "
. "WHERE table_schema = database() AND table_name = 'civicrm_report_instance' AND COLUMN_NAME = 'name' ";
$res = CRM_Core_DAO::executeQuery($sql);
}
- // add civicrm_report_instance args
+ // add civicrm_report_instance args
$sql = "SELECT count(*) FROM information_schema.columns WHERE table_schema = database() AND table_name = 'civicrm_report_instance' AND COLUMN_NAME = 'args' ";