Skip to content
Snippets Groups Projects
Commit 556f1e08 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Correct typo in hook name

parent 0e9c93d8
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ msgstr "Show statistics metadata" ...@@ -75,7 +75,7 @@ msgstr "Show statistics metadata"
msgid "{core:frontpage:link_metarefresh}" msgid "{core:frontpage:link_metarefresh}"
msgstr "Metarefresh: fetch metadata" msgstr "Metarefresh: fetch metadata"
msgid "{core:frontpage:link_santitycheck}" msgid "{core:frontpage:link_sanitycheck}"
msgstr "Sanity check of your SimpleSAMLphp setup" msgstr "Sanity check of your SimpleSAMLphp setup"
msgid "{core:frontpage:link_diagnostics}" msgid "{core:frontpage:link_diagnostics}"
......
...@@ -7,7 +7,7 @@ $config = array ( ...@@ -7,7 +7,7 @@ $config = array (
'pagesets' => array( 'pagesets' => array(
array('frontpage_welcome', 'frontpage_config', 'frontpage_auth', 'frontpage_federation'), array('frontpage_welcome', 'frontpage_config', 'frontpage_auth', 'frontpage_federation'),
array('santitycheck', 'statistics'), array('sanitycheck', 'statistics'),
), ),
); );
...@@ -9,8 +9,8 @@ function sanitycheck_hook_frontpage(&$links) ...@@ -9,8 +9,8 @@ function sanitycheck_hook_frontpage(&$links)
assert(is_array($links)); assert(is_array($links));
assert(array_key_exists('links', $links)); assert(array_key_exists('links', $links));
$links['config']['santitycheck'] = array( $links['config']['sanitycheck'] = array(
'href' => SimpleSAML\Module::getModuleURL('sanitycheck/index.php'), 'href' => SimpleSAML\Module::getModuleURL('sanitycheck/index.php'),
'text' => '{core:frontpage:link_santitycheck}', 'text' => '{core:frontpage:link_sanitycheck}',
); );
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment