Statistics module: visitor statistics without cookies
PR CI / ledger (pull_request) Successful in 4s
PR CI / flow (pull_request) Successful in 5s
PR CI / test (lowest) (pull_request) Successful in 37s
PR CI / test (stable) (pull_request) Successful in 37s
PR CI / security (pull_request) Successful in 51s
PR CI / pr-ci (pull_request) Successful in 1s
PR CI / release-automerge (pull_request) Failing after 4s
PR CI / ledger (pull_request) Successful in 4s
PR CI / flow (pull_request) Successful in 5s
PR CI / test (lowest) (pull_request) Successful in 37s
PR CI / test (stable) (pull_request) Successful in 37s
PR CI / security (pull_request) Successful in 51s
PR CI / pr-ci (pull_request) Successful in 1s
PR CI / release-automerge (pull_request) Failing after 4s
This commit is contained in:
1 parent
96daa8a7b6
commit
d2a2a4a373
24 files changed
+1872
-4
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user