From 56181f674f299caba7f605e5353ffb0b8042f89a Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Wed, 15 May 2013 12:43:28 -0700 Subject: [PATCH] CRM-12614. Add postUpgradeMessage for 4.3.4 which warns system admins that cli.php now requires a password. ---------------------------------------- * CRM-12614: Password required again for CLI cron http://issues.civicrm.org/jira/browse/CRM-12614 --- CRM/Upgrade/Incremental/php/FourThree.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/CRM/Upgrade/Incremental/php/FourThree.php b/CRM/Upgrade/Incremental/php/FourThree.php index 331ada1415..29798f0b09 100644 --- a/CRM/Upgrade/Incremental/php/FourThree.php +++ b/CRM/Upgrade/Incremental/php/FourThree.php @@ -130,7 +130,6 @@ WHERE entity_value = '' OR entity_value IS NULL $postUpgradeMessage .= '
' .ts("Scheduled Reminders must be linked to one or more 'entities' (Events, Event Templates, Activity Types, Membership Types). The following reminders are not configured properly and will not be run. Please review them and update or delete them: %1", array(1 => $list)); } } - if ($rev == '4.3.beta2') { $postUpgradeMessage .= '
' . ts('Default versions of the following System Workflow Message Templates have been modified to handle new functionality: If you have modified these templates, please review the new default versions and implement updates as needed to your copies (Administer > Communications > Message Templates > System Workflow Messages).'); } @@ -183,10 +182,14 @@ WHERE ceft.entity_id IS NULL; } if ($isOrphanData) { - $postUpgradeMessage .= "
" . ts('Your database contains extraneous financial records related to deleted contacts and contributions. These records should not affect the site and will not appear in reports, search results or exports. However you may wish to clean them up. Refer to this wiki page for details. + $postUpgradeMessage .= "
" . ts('Your database contains extraneous financial records related to deleted contacts and contributions. These records should not affect the site and will not appear in reports, search results or exports. However you may wish to clean them up. Refer to this wiki page for details. ', array( 1 => 'http://wiki.civicrm.org/confluence/display/CRMDOC/Clean+up+extraneous+financial+data+-+4.3+upgrades')) . ""; } } + if ($rev == '4.3.4') { + $postUpgradeMessage .= '
' . ts('System Administrator Alert: If you are running scheduled jobs using CLI.php, you will need to reconfigure cron tasks to include a password. Scheduled jobs will no longer run if the password is not provided (learn more).', + array( 1 => 'http://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs')); + } } function upgrade_4_3_alpha1($rev) { @@ -289,6 +292,10 @@ ADD COLUMN premiums_nothankyou_label varchar(255) COLLATE utf8_unicode_ci DEFA $this->addTask(ts('Upgrade DB to 4.3.beta5: SQL'), 'task_4_3_x_runSql', $rev); } + function upgrade_4_3_4($rev) { + $this->addTask(ts('Upgrade DB to 4.3.4: SQL'), 'task_4_3_x_runSql', $rev); + } + //CRM-11636 function assignFinancialTypeToPriceRecords() { $upgrade = new CRM_Upgrade_Form(); -- 2.25.1