<?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();
$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);