Merge pull request #3116 from jitendrapurohit/Report_Webtest
[civicrm-core.git] / CRM / Upgrade / Incremental / php / FourFive.php
index ec5940f9b293239c8e88dda3107a88a29ea80da7..961a0fe2d2648c2ab697ae528c313d67d7c5064c 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -27,7 +27,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -44,8 +44,11 @@ class CRM_Upgrade_Incremental_php_FourFive {
    * 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) {
@@ -61,6 +64,7 @@ class CRM_Upgrade_Incremental_php_FourFive {
   function setPostUpgradeMessage(&$postUpgradeMessage, $rev) {
     if ($rev == '4.5.alpha1') {
       $postUpgradeMessage .= '<br /><br />' . ts('Default versions of the following System Workflow Message Templates have been modified to handle new functionality: <ul><li>Contributions - Receipt (off-line)</li><li>Contributions - Receipt (on-line)</li><li>Memberships - Receipt (on-line)</li><li>Pledges - Acknowledgement</li></ul> 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).');
+      $postUpgradeMessage .= '<br /><br />' . ts('This release allows you to view and edit multiple-record custom field sets in a table format which will be more usable in some cases. You can try out the format by navigating to Administer > Custom Data & Screens > Custom Fields. Click Settings for a custom field set and change Display Style to "Tab with Tables".');
     }
   }
 
@@ -76,6 +80,8 @@ class CRM_Upgrade_Incremental_php_FourFive {
   /**
    * 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) {
@@ -104,7 +110,7 @@ class CRM_Upgrade_Incremental_php_FourFive {
   }
 
   /**
-   * 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