Tinyboard.php: remove dead code

This commit is contained in:
Zankaria 2024-12-27 19:02:36 +01:00
parent 750ac11581
commit 4f7d872d0d

View file

@ -129,8 +129,6 @@ function twig_ratio_function($w, $h) {
}
function twig_secure_link_confirm($text, $title, $confirm_message, $href) {
global $config;
return '<a onclick="if (event.which==2) return true;if (confirm(\'' . htmlentities(addslashes($confirm_message)) . '\')) document.location=\'?/' . htmlspecialchars(addslashes($href . '/' . make_secure_link_token($href))) . '\';return false;" title="' . htmlentities($title) . '" href="?/' . $href . '">' . $text . '</a>';
}