mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-05 15:56:44 +02:00
style: update ecs config to align associative arrays arrows
update composer dependencies to latest
This commit is contained in:
parent
3fc1d8e18d
commit
2a50f6e4d2
268 changed files with 3833 additions and 3973 deletions
|
|
@ -49,7 +49,7 @@ class WebSubController extends Controller
|
|||
|
||||
$requestOptions = [
|
||||
'headers' => [
|
||||
'User-Agent' => 'Castopod/' . CP_VERSION . '; +' . base_url('', 'https'),
|
||||
'User-Agent' => 'Castopod/' . CP_VERSION . '; +' . base_url('', 'https'),
|
||||
'Content-Type' => 'application/x-www-form-urlencoded',
|
||||
],
|
||||
];
|
||||
|
|
@ -60,7 +60,7 @@ class WebSubController extends Controller
|
|||
foreach ($podcasts as $podcast) {
|
||||
$requestOptions['form_params'] = [
|
||||
'hub.mode' => 'publish',
|
||||
'hub.url' => $podcast->feed_url,
|
||||
'hub.url' => $podcast->feed_url,
|
||||
];
|
||||
|
||||
foreach ($hubUrls as $hub) {
|
||||
|
|
@ -82,7 +82,7 @@ class WebSubController extends Controller
|
|||
// set newly published episodes as pushed onto hubs
|
||||
(new EpisodeModel())->set('is_published_on_hubs', true)
|
||||
->where([
|
||||
'podcast_id' => $podcast->id,
|
||||
'podcast_id' => $podcast->id,
|
||||
'is_published_on_hubs' => false,
|
||||
])
|
||||
->where('`published_at` <= UTC_TIMESTAMP()', null, false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue