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);

View file

@ -15,10 +15,10 @@ class TrashTheme extends Themelet
public function get_help_html()
{
return '<p>Search for images in the trash.</p>
return '<p>Search for posts in the trash.</p>
<div class="command_example">
<pre>in:trash</pre>
<p>Returns images that are in the trash.</p>
<p>Returns posts that are in the trash.</p>
</div>
';
}