aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Daemon/Delxitems.php25
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;
+ }
+}