mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-13 16:03:04 +00:00
25 lines
408 B
PHP
25 lines
408 B
PHP
<?php
|
|
|
|
namespace App\Observers;
|
|
|
|
use Cache;
|
|
|
|
class ReferralApplyObserver
|
|
{
|
|
/**
|
|
* Handle the ReferralApply "created" event.
|
|
*/
|
|
public function created(): void
|
|
{
|
|
Cache::forget('open_referral_apply_count');
|
|
}
|
|
|
|
/**
|
|
* Handle the ReferralApply "updated" event.
|
|
*/
|
|
public function updated(): void
|
|
{
|
|
Cache::forget('open_referral_apply_count');
|
|
}
|
|
}
|