Image to Post - trash
This commit is contained in:
parent
e4ab2e5d39
commit
e6e4e4c962
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
';
|
||||
}
|
||||
|
|
Reference in a new issue