Merge pull request #4882 from colemanw/CRM-15789
[civicrm-core.git] / CRM / Upgrade / Page / Cleanup.php
index 0cb2610e53d155428fc6f652d31aac744526135d..8325c3f6331c30012f232d478973d432fcea8165 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 */
+
+/**
+ * Class CRM_Upgrade_Page_Cleanup
+ */
 class CRM_Upgrade_Page_Cleanup  extends CRM_Core_Page {
   public function cleanup425() {
     $rows     = CRM_Upgrade_Incremental_php_FourTwo::deleteInvalidPairs();
@@ -37,8 +41,9 @@ class CRM_Upgrade_Page_Cleanup  extends CRM_Core_Page {
     $preMessage = !empty($rows) ? ts('The following records have been processed. Membership records with action = Un-linked have been disconnected from the listed contribution record:') : ts('Could not find any records to process.');
     $template->assign('preMessage', $preMessage);
 
-    $postMessage =  ts('You can <a href="%1">click here</a> to try running the 4.2 upgrade script again. <a href="%2" target="_blank">(Review upgrade documentation)</a>',
-                    array(1 => CRM_Utils_System::url('civicrm/upgrade', 'reset=1'),
+    $postMessage = ts('You can <a href="%1">click here</a> to try running the 4.2 upgrade script again. <a href="%2" target="_blank">(Review upgrade documentation)</a>',
+                    array(
+    1 => CRM_Utils_System::url('civicrm/upgrade', 'reset=1'),
                           2 => 'http://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades'));
     $template->assign('postMessage', $postMessage);