mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 15:26:43 +02:00
chore: update CI to v4.6.3 + all php and js dependencies
This commit is contained in:
parent
96b2df15b0
commit
346c00e7b5
206 changed files with 6239 additions and 5336 deletions
|
|
@ -162,15 +162,11 @@ class ClipModel extends Model
|
|||
return (int) $result[0]['id'];
|
||||
}
|
||||
|
||||
public function deleteVideoClip(int $podcastId, int $episodeId, int $clipId): BaseResult | bool
|
||||
public function deleteVideoClip(int $clipId): BaseResult | bool
|
||||
{
|
||||
$this->clearVideoClipCache($clipId);
|
||||
|
||||
return $this->delete([
|
||||
'podcast_id' => $podcastId,
|
||||
'episode_id' => $episodeId,
|
||||
'id' => $clipId,
|
||||
]);
|
||||
return $this->delete($clipId);
|
||||
}
|
||||
|
||||
public function getClipCount(int $podcastId, int $episodeId): int
|
||||
|
|
@ -240,11 +236,7 @@ class ClipModel extends Model
|
|||
{
|
||||
$this->clearSoundbiteCache($podcastId, $episodeId, $clipId);
|
||||
|
||||
return $this->delete([
|
||||
'podcast_id' => $podcastId,
|
||||
'episode_id' => $episodeId,
|
||||
'id' => $clipId,
|
||||
]);
|
||||
return $this->delete($clipId);
|
||||
}
|
||||
|
||||
public function clearSoundbiteCache(int $podcastId, int $episodeId, int $clipId): void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue