streams/Code/Daemon/Delxitems.php

26 lines
345 B
PHP
Raw Normal View History

<?php
2022-02-16 04:08:28 +00:00
namespace Code\Daemon;
/*
* Daemon to remove 'item' resources in the background from a removed connection
*/
2021-12-03 03:01:39 +00:00
class Delxitems
{
2021-12-03 03:01:39 +00:00
public static function run($argc, $argv)
{
2021-12-03 03:01:39 +00:00
cli_startup();
2021-12-03 03:01:39 +00:00
if ($argc != 3) {
return;
}
2021-12-03 03:01:39 +00:00
remove_abook_items($argv[1], $argv[2]);
2021-12-03 03:01:39 +00:00
return;
}
}