Skip to content
Snippets Groups Projects
Commit 2accb0f7 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix(premium-subs): clear subscription list cache after insert

fixes #430
parent 3cb5ffd2
No related branches found
No related tags found
No related merge requests found
Pipeline #15565 passed
Pipeline: Castopod

#15566

    ...@@ -54,6 +54,11 @@ class SubscriptionModel extends Model ...@@ -54,6 +54,11 @@ class SubscriptionModel extends Model
    */ */
    protected $useTimestamps = true; protected $useTimestamps = true;
    /**
    * @var string[]
    */
    protected $afterInsert = ['clearCache'];
    /** /**
    * @var string[] * @var string[]
    */ */
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment