mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-16 13:07:46 +02:00
fix(premium-subs): clear subscription list cache after insert
fixes #430
This commit is contained in:
parent
3cb5ffd25b
commit
2accb0f765
1 changed files with 5 additions and 0 deletions
|
|
@ -54,6 +54,11 @@ class SubscriptionModel extends Model
|
||||||
*/
|
*/
|
||||||
protected $useTimestamps = true;
|
protected $useTimestamps = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string[]
|
||||||
|
*/
|
||||||
|
protected $afterInsert = ['clearCache'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[]
|
* @var string[]
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue