summaryrefslogtreecommitdiffstats
path: root/web/html/packages.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/html/packages.php
parentfb7bde3a6ca049700a691324c21005ae26782584 (diff)
downloadaur-b8a31dcc72703b4cd597e4ce681abcf6b0a3d507.tar.gz
aur-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/html/packages.php')
0 files changed, 0 insertions, 0 deletions