mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
23 lines
364 B
PHP
23 lines
364 B
PHP
<?php
|
|
|
|
namespace Code\Daemon;
|
|
|
|
/*
|
|
* Daemon to remove 'item' resources in the background from a removed connection
|
|
*/
|
|
|
|
class Delxitems implements DaemonInterface
|
|
{
|
|
|
|
public function run(int $argc, array $argv): void
|
|
{
|
|
|
|
cli_startup();
|
|
|
|
if ($argc != 3) {
|
|
return;
|
|
}
|
|
|
|
remove_abook_items($argv[1], $argv[2]);
|
|
}
|
|
}
|