fix(premium-subs): clear subscription list cache after insert
fixes #430
This commit is contained in:
parent
3cb5ffd25b
commit
2accb0f765
|
@ -54,6 +54,11 @@ class SubscriptionModel extends Model
|
||||||
*/
|
*/
|
||||||
protected $useTimestamps = true;
|
protected $useTimestamps = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string[]
|
||||||
|
*/
|
||||||
|
protected $afterInsert = ['clearCache'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[]
|
* @var string[]
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue