diff options
author | Mario <mario@mariovavti.com> | 2022-01-21 07:28:24 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-21 07:28:24 +0000 |
commit | 755d0f54f7ddfc2a932e17c425c7a1aacb8d7efb (patch) | |
tree | db1616efe407092127a273de1889bc1cd852132f /Zotlabs/Daemon/Delxitems.php | |
parent | a40babbf0d09e0131a00a1e88d359caebb997a65 (diff) | |
parent | f62d66ff25ffac7dbfdc663d2a64c5b415b6e294 (diff) | |
download | volse-hubzilla-755d0f54f7ddfc2a932e17c425c7a1aacb8d7efb.tar.gz volse-hubzilla-755d0f54f7ddfc2a932e17c425c7a1aacb8d7efb.tar.bz2 volse-hubzilla-755d0f54f7ddfc2a932e17c425c7a1aacb8d7efb.zip |
Merge branch '7.0RC'
Diffstat (limited to 'Zotlabs/Daemon/Delxitems.php')
-rw-r--r-- | Zotlabs/Daemon/Delxitems.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Zotlabs/Daemon/Delxitems.php b/Zotlabs/Daemon/Delxitems.php new file mode 100644 index 000000000..264354ca0 --- /dev/null +++ b/Zotlabs/Daemon/Delxitems.php @@ -0,0 +1,25 @@ +<?php + +namespace Zotlabs\Daemon; + +require_once('include/connections.php'); + +/* + * Daemon to remove 'item' resources in the background from a removed connection + */ + +class Delxitems { + + static public function run($argc, $argv) { + + cli_startup(); + + if($argc != 3) { + return; + } + + remove_abook_items($argv[1], $argv[2]); + + return; + } +} |