summaryrefslogtreecommitdiffstats
path: root/web/lib/stats.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-02-06 09:04:10 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-02-06 16:28:33 +0100
commitb8a31dcc72703b4cd597e4ce681abcf6b0a3d507 (patch)
treee9fe57a6ead2acb1a5118f76142b7e7718889512 /web/lib/stats.inc.php
parentfb7bde3a6ca049700a691324c21005ae26782584 (diff)
downloadaurweb-b8a31dcc72703b4cd597e4ce681abcf6b0a3d507.tar.xz
Do not allow unauthenticated users to delete comments
Since commit fb7bde3 (Add support for anonymous comments, 2014-02-04), we support comments with no specific author. Add a check to canDeleteComment() and canDeleteCommentArray() to ensure an unauthenticated user cannot delete such comments. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/stats.inc.php')
0 files changed, 0 insertions, 0 deletions