From fbd28bd45d2f7e1dd232924edb21f600204eba31 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+github@gmail.com> Date: Thu, 5 May 2022 08:28:47 +0200 Subject: [PATCH] remove unused method, re #957 --- lib/classes/SkipLinks.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/classes/SkipLinks.php b/lib/classes/SkipLinks.php index e2744b91723..c5738b2af6f 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; - } } -- GitLab