mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-07 08:46:42 +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
|
|
@ -32,7 +32,7 @@ class SubscriptionController extends BaseController
|
|||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
||||
if (! ($podcast = (new PodcastModel())->getPodcastById((int) $params[0])) instanceof Podcast) {
|
||||
if (! ($podcast = new PodcastModel()->getPodcastById((int) $params[0])) instanceof Podcast) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ class SubscriptionController extends BaseController
|
|||
return $this->{$method}();
|
||||
}
|
||||
|
||||
if (! ($this->subscription = (new SubscriptionModel())->getSubscriptionById(
|
||||
if (! ($this->subscription = new SubscriptionModel()->getSubscriptionById(
|
||||
(int) $params[1],
|
||||
)) instanceof Subscription) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
|
|
@ -431,7 +431,8 @@ class SubscriptionController extends BaseController
|
|||
$db = db_connect();
|
||||
$db->transStart();
|
||||
|
||||
(new SubscriptionModel())->delete($this->subscription->id);
|
||||
new SubscriptionModel()
|
||||
->delete($this->subscription->id);
|
||||
|
||||
/** @var Email $email */
|
||||
$email = service('email');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue