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