Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Rename mistyped function (changes the public API)
Fixes #34
  • Loading branch information
michael-e committed Jan 5, 2016
1 parent 2f78ae7 commit ca8d228
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extension.driver.php
Expand Up @@ -78,7 +78,7 @@ public function getSubscribedDelegates()
array(
'page' => '/backend/',
'delegate' => 'InitialiseAdminPageHead',
'callback' => 'initaliseAdminPageHead'
'callback' => 'initialiseAdminPageHead'
),
array(
'page' => '/backend/',
Expand Down Expand Up @@ -124,7 +124,7 @@ public function fetchNavigation()
* Delegate fired when the HEAD section will be built
* @param array $context
*/
public function initaliseAdminPageHead($context)
public function initialiseAdminPageHead($context)
{
// do it here since it is called before
// processing $_POST['action']
Expand Down Expand Up @@ -178,7 +178,7 @@ public function adminPagePreGenerate($context)
}

// N.B. We must still do it here
// since initaliseAdminPageHead is not fired on some requests
// since initialiseAdminPageHead is not fired on some requests
if ($this->mustCheck($oPage)) {
$this->doBanCheck();
}
Expand Down

0 comments on commit ca8d228

Please sign in to comment.