aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-12-17 20:29:06 +0100
committerMario <mario@mariovavti.com>2021-12-17 20:29:06 +0100
commit5ab90f77915f8c2f6ccd1342e524703e5753bf2c (patch)
tree7c49182f7569725250d23e19321093ceabf0f005 /Zotlabs/Daemon
parentb90d98fc2be5f04cf2ffa62933f9ffd81d45dec5 (diff)
parenteca3ae393bc56626462279fb729966d76e3e9403 (diff)
downloadvolse-hubzilla-5ab90f77915f8c2f6ccd1342e524703e5753bf2c.tar.gz
volse-hubzilla-5ab90f77915f8c2f6ccd1342e524703e5753bf2c.tar.bz2
volse-hubzilla-5ab90f77915f8c2f6ccd1342e524703e5753bf2c.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Daemon')
-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;
+ }
+}