media-rescan also accepts hash
This commit is contained in:
parent
5b2e9e44a2
commit
b6b16b9804
@ -352,7 +352,7 @@ class Media extends Extension
|
|||||||
public function onCommand(CommandEvent $event)
|
public function onCommand(CommandEvent $event)
|
||||||
{
|
{
|
||||||
if ($event->cmd == "help") {
|
if ($event->cmd == "help") {
|
||||||
print "\tmedia-rescan <id>\n";
|
print "\tmedia-rescan <id / hash>\n";
|
||||||
print "\t\trefresh metadata for a given post\n\n";
|
print "\t\trefresh metadata for a given post\n\n";
|
||||||
}
|
}
|
||||||
if ($event->cmd == "media-rescan") {
|
if ($event->cmd == "media-rescan") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user