diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2009-02-22 09:44:22 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2009-02-22 09:44:22 -0500 |
commit | fa4f58be8ee450762765d3a0a14b0bdcc1744d41 (patch) | |
tree | 2daf4c0f919ef84f961fda8369987789177dc717 /admin/remove.php | |
parent | f49872fe49f0b965d5c999002279b7ca1a471a60 (diff) | |
download | pillowcase-fa4f58be8ee450762765d3a0a14b0bdcc1744d41.tar.gz pillowcase-fa4f58be8ee450762765d3a0a14b0bdcc1744d41.tar.bz2 pillowcase-fa4f58be8ee450762765d3a0a14b0bdcc1744d41.zip |
Fixed moderation removal bug
Previously, when an image was removed through moderation, the actual image wasn't deleted from the moderation directory. This has been fixed.
Diffstat (limited to 'admin/remove.php')
-rw-r--r-- | admin/remove.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/remove.php b/admin/remove.php index bf8e565..824fdee 100644 --- a/admin/remove.php +++ b/admin/remove.php | |||
@@ -3,6 +3,8 @@ | |||
3 | $delimage = "DELETE FROM moderation WHERE id = " . $_GET['id']; | 3 | $delimage = "DELETE FROM moderation WHERE id = " . $_GET['id']; |
4 | $delimage2 = mysql_query($delimage); | 4 | $delimage2 = mysql_query($delimage); |
5 | 5 | ||
6 | unlink($_SERVER['DOCUMENT_ROOT'] . '/moderation/' . $_GET['id'] . '.png'); | ||
7 | |||
6 | ?> | 8 | ?> |
7 | 9 | ||
8 | Removed comic <?php echo($_GET['id']); ?>! | 10 | Removed comic <?php echo($_GET['id']); ?>! |