diff options
author | Mario <mario@mariovavti.com> | 2021-12-17 19:25:28 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-12-17 19:25:28 +0000 |
commit | eca3ae393bc56626462279fb729966d76e3e9403 (patch) | |
tree | 4b6d62a1a90110b3088ce62890df87b4586f4b36 /Zotlabs/Daemon/Delxitems.php | |
parent | 2bd69495d2bfce0481e47421cee700aa08eee54f (diff) | |
download | volse-hubzilla-eca3ae393bc56626462279fb729966d76e3e9403.tar.gz volse-hubzilla-eca3ae393bc56626462279fb729966d76e3e9403.tar.bz2 volse-hubzilla-eca3ae393bc56626462279fb729966d76e3e9403.zip |
daemon to delete abbok items in the background
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; + } +} |