forked from leftypol/leftypol
pages.php: remove seemingly unused code
This commit is contained in:
parent
c718eb70b0
commit
e52465753e
1 changed files with 0 additions and 2 deletions
|
@ -1011,7 +1011,6 @@ function mod_user_posts_by_ip(Context $ctx, string $ip, string $encoded_cursor =
|
|||
}
|
||||
|
||||
$args['boards'] = $boards;
|
||||
$args['token'] = make_secure_link_token('ban');
|
||||
|
||||
// Since the security token is only used to send requests to create notes and remove bans, use "?/IP/" as the url.
|
||||
if (empty($encoded_cursor)) {
|
||||
|
@ -1082,7 +1081,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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue