mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 03:27:45 +02:00
refactor: replace "embeddable-player" occurrences to "embed"
This commit is contained in:
parent
be5a28787f
commit
025b2f42e6
59 changed files with 122 additions and 239 deletions
|
|
@ -102,7 +102,7 @@ class PlatformModel extends Model
|
|||
! ($found = cache("podcast#{$podcastId}_platforms_{$platformType}_withLinks"))
|
||||
) {
|
||||
$found = $this->select(
|
||||
'platforms.*, podcasts_platforms.link_url, podcasts_platforms.link_content, podcasts_platforms.is_visible, podcasts_platforms.is_on_embeddable_player',
|
||||
'platforms.*, podcasts_platforms.link_url, podcasts_platforms.link_content, podcasts_platforms.is_visible, podcasts_platforms.is_on_embed',
|
||||
)
|
||||
->join(
|
||||
'podcasts_platforms',
|
||||
|
|
@ -127,7 +127,7 @@ class PlatformModel extends Model
|
|||
$cacheName = "podcast#{$podcastId}_platforms_{$platformType}";
|
||||
if (! ($found = cache($cacheName))) {
|
||||
$found = $this->select(
|
||||
'platforms.*, podcasts_platforms.link_url, podcasts_platforms.link_content, podcasts_platforms.is_visible, podcasts_platforms.is_on_embeddable_player',
|
||||
'platforms.*, podcasts_platforms.link_url, podcasts_platforms.link_content, podcasts_platforms.is_visible, podcasts_platforms.is_on_embed',
|
||||
)
|
||||
->join('podcasts_platforms', 'podcasts_platforms.platform_slug = platforms.slug')
|
||||
->where('podcasts_platforms.podcast_id', $podcastId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue