Browse Source

#87 Attempt to change the error message associated when using deletebyip e.g D++ with autotagging of deletions enabled.

pull/40/head
Benjamin Southall 7 years ago
parent
commit
6c06045c03
  1. 3
      inc/mod/pages.php

3
inc/mod/pages.php

@ -1516,6 +1516,7 @@ function mod_ban_post($board, $delete, $post, $token = false) {
}
if ($time !== ''){
$dt = new DateTime("@$time");
$autotag = "";
$autotag .= $name . " " . $subject . " " . $dt->format('Y-m-d H:i:s') . " No.". $post . "\r\n";
$autotag .= "/${board}/" . " " . $filehash . " " . $filename ."\r\n";
$autotag .= $body . "\r\n";
@ -1677,6 +1678,7 @@ function mod_delete($board, $post) {
}
if ($time !== ''){
$dt = new DateTime("@$time");
$autotag = "";
$autotag .= $name . " " . $subject . " " . $dt->format('Y-m-d H:i:s') . " No.". $post . "\r\n";
$autotag .= "/${board}/" . " " . $filehash . " " . $filename ."\r\n";
$autotag .= $body . "\r\n";
@ -1842,6 +1844,7 @@ function mod_deletebyip($boardName, $post, $global = false) {
}
if ($time !== ''){
$dt = new DateTime("@$time");
$autotag = "";
$autotag .= $name . " " . $subject . " " . $dt->format('Y-m-d H:i:s') . " No.". $post['id'] . "\r\n";
$autotag .= "/${post['board']}/" . " " . $filehash . " " . $filename ."\r\n";
$autotag .= $body . "\r\n";

Loading…
Cancel
Save