aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-17 00:14:47 -0800
committerzotlabs <mike@macgirvin.com>2017-01-17 00:14:47 -0800
commit335d9af8dc4b02f8ec4017d30525a65e93c40eb2 (patch)
treef3f561a5a2e23386d416e328e4c2d9f788a9cf47 /Zotlabs
parent8478ecc6755eefb1977566c8f4bbbd603d5b37db (diff)
downloadvolse-hubzilla-335d9af8dc4b02f8ec4017d30525a65e93c40eb2.tar.gz
volse-hubzilla-335d9af8dc4b02f8ec4017d30525a65e93c40eb2.tar.bz2
volse-hubzilla-335d9af8dc4b02f8ec4017d30525a65e93c40eb2.zip
daemon_addon hook - lets plugins create custom background processes.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Daemon/Addon.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/Zotlabs/Daemon/Addon.php b/Zotlabs/Daemon/Addon.php
new file mode 100644
index 000000000..c2889e596
--- /dev/null
+++ b/Zotlabs/Daemon/Addon.php
@@ -0,0 +1,14 @@
+<?php
+
+namespace Zotlabs\Daemon;
+
+require_once('include/zot.php');
+
+class Addon {
+
+ static public function run($argc,$argv) {
+
+ call_hooks('daemon_addon',$argv);
+
+ }
+}