Skip to content
Snippets Groups Projects
Commit fbd28bd4 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

remove unused method, re #957

parent 9d7788a3
No related branches found
No related tags found
No related merge requests found
...@@ -101,20 +101,4 @@ class SkipLinks ...@@ -101,20 +101,4 @@ class SkipLinks
} }
return $GLOBALS['template_factory']->render('skiplinks', compact('navigation')); return $GLOBALS['template_factory']->render('skiplinks', compact('navigation'));
} }
/**
* Checks if there is another link at the same position and if it is overwritable.
*
* @return boolean true if the link at the same position is overwritable
*/
private static function checkOverwrite($link)
{
if (isset(self::$position[$link['position']])) {
return false;
}
if (empty($link['overwrite'])) {
self::$position[$link['position']] = true;
}
return true;
}
} }
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