Skip to content
Snippets Groups Projects
Commit 80e799e4 authored by colemanw's avatar colemanw
Browse files

Merge pull request #1097 from davecivicrm/CRM-12634-2

CRM-12634 Simplified fix using crmURL.
parents 9ee586db 8ca4ade5
No related branches found
No related tags found
No related merge requests found
......@@ -54,9 +54,6 @@ class CRM_Upgrade_Page_Upgrade extends CRM_Core_Page {
$template->assign('pageTitle', ts('Upgrade CiviCRM to Version %1',
array(1 => $latestVer)
));
$template->assign('menuRebuildURL',
CRM_Utils_System::url('civicrm/menu/rebuild', 'reset=1')
);
$template->assign('cancelURL',
CRM_Utils_System::url('civicrm/dashboard', 'reset=1')
);
......
......@@ -67,6 +67,6 @@
<h3>Important Notes</h3>
<p>{$afterUpgradeMessage}</p>
{/if}
<p><a href="{$menuRebuildURL}" title="{ts}CiviCRM home page{/ts}" style="text-decoration: underline;">{ts}Return to CiviCRM home page.{/ts}</a></p>
<p><a href="{crmURL p='civicrm/dashboard' q='reset=1'}" title="{ts}CiviCRM home page{/ts}" style="text-decoration: underline;">{ts}Return to CiviCRM home page.{/ts}</a></p>
</div>
{/if}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment