deleting videos is now possible
This commit is contained in:
parent
d36f0707a4
commit
26e3eee769
@ -143,6 +143,9 @@ class GNUsocialVideoPlugin extends MicroAppPlugin
|
||||
|
||||
function deleteRelated($notice)
|
||||
{
|
||||
exit(1); // TODO: implement
|
||||
$vid = Video::getByNotice($notice);
|
||||
if ($vid) {
|
||||
$vid->delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user