This commit is contained in:
deploy-bot committed 2026-12-04 09:21:04 +00:00
commit f2e6586969
134 files changed
+9705

No files matched your search

@@ -0,0 +1,20 @@
<?php
namespace IriksIT\Manager\Modules\Statistics;
use Illuminate\Console\Command;
use IriksIT\Manager\Models\VisitorSalt;
class ForgetVisitorKeys extends Command
{
protected $signature = 'manager:forget-visitor-keys';
protected $description = 'Delete the keys of past days, so the visitor codes of those days can no longer be traced back';
public function handle(): int
{
$this->line(sprintf('%d key(s) of past days deleted.', VisitorSalt::forgetOld()));
return self::SUCCESS;
}
}