diff --git a/lib/classes/SkipLinks.php b/lib/classes/SkipLinks.php index e2744b91723bb884c38808b96aeeee0083a4a025..c5738b2af6f148c113a9f855167820907a503bf5 100644 --- a/lib/classes/SkipLinks.php +++ b/lib/classes/SkipLinks.php @@ -101,20 +101,4 @@ class SkipLinks } 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; - } }