forked from leftypol/leftypol
Tinyboard.php: remove dead code
This commit is contained in:
parent
750ac11581
commit
4f7d872d0d
1 changed files with 0 additions and 2 deletions
|
@ -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>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue