forked from leftypol/leftypol
pages.php: remove unused code
This commit is contained in:
parent
bf060ce174
commit
9a5b79452f
1 changed files with 0 additions and 6 deletions
|
@ -1087,12 +1087,6 @@ function mod_user_posts_by_passwd(Context $ctx, string $passwd, string $encoded_
|
|||
$args['boards'] = $boards;
|
||||
$args['token'] = make_secure_link_token('ban');
|
||||
|
||||
if (empty($encoded_cursor)) {
|
||||
$args['security_token'] = make_secure_link_token("user_posts/passwd/$passwd");
|
||||
} else {
|
||||
$args['security_token'] = make_secure_link_token("user_posts/passwd/$passwd/cursor/$encoded_cursor");
|
||||
}
|
||||
|
||||
mod_page(\sprintf('%s: %s', _('Password'), \htmlspecialchars($passwd)), 'mod/view_passwd.html', $args);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue