mirror of
https://github.com/openvk/openvk
synced 2025-06-06 22:47:01 +03:00
feat: playlist cover is unlisted
This commit is contained in:
parent
0771fbabd3
commit
da6e90b777
1 changed files with 1 additions and 0 deletions
|
@ -260,6 +260,7 @@ class Playlist extends MediaCollection
|
|||
$cover->setDescription("Playlist cover image");
|
||||
$cover->setFile($file);
|
||||
$cover->setCreated(time());
|
||||
$cover->setSystem(true);
|
||||
$cover->save();
|
||||
|
||||
$this->setCover_photo_id($cover->getId());
|
||||
|
|
Loading…
Reference in a new issue