1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

Merge pull request #577 from vichan-devel/RealAngeleno-patch-8

changed language in audit log
This commit is contained in:
RealAngeleno 2023-05-28 19:30:20 -07:00 committed by GitHub
commit 81d56bb784
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,11 +237,11 @@ if (isset($_POST['delete'])) {
if (isset($_POST['file'])) { if (isset($_POST['file'])) {
// Delete just the file // Delete just the file
deleteFile($id); deleteFile($id);
modLog("User deleted file from his own post #$id"); modLog("User deleted file from their own post #$id");
} else { } else {
// Delete entire post // Delete entire post
deletePost($id); deletePost($id);
modLog("User deleted his own post #$id"); modLog("User deleted their own post #$id");
} }
_syslog(LOG_INFO, 'Deleted post: ' . _syslog(LOG_INFO, 'Deleted post: ' .