Image to Post - trash

This commit is contained in:
Matthew Barbour
2020-10-26 10:20:29 -05:00
parent e4ab2e5d39
commit e6e4e4c962
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ class Trash extends Extension
} elseif (isset($_POST['image_id'])) {
$image_id = $_POST['image_id'];
} else {
throw new SCoreException("Can not restore image: No valid Image ID given.");
throw new SCoreException("Can not restore post: No valid Post ID given.");
}
self::set_trash($image_id, false);