aboutsummaryrefslogtreecommitdiffstats
path: root/include/deliver_hooks.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-19 22:26:37 -0700
committerredmatrix <git@macgirvin.com>2016-05-19 22:26:37 -0700
commita2cec8899ad191b47d116f4ea124be6bd5b05472 (patch)
treeb23952460e035bb37f886cb8fad5cd86c50f1291 /include/deliver_hooks.php
parent014168a29bfbba69c2ba887af97e5fb290fa21c5 (diff)
downloadvolse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.tar.gz
volse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.tar.bz2
volse-hubzilla-a2cec8899ad191b47d116f4ea124be6bd5b05472.zip
daemon conversion continued...
Diffstat (limited to 'include/deliver_hooks.php')
-rw-r--r--include/deliver_hooks.php29
1 files changed, 0 insertions, 29 deletions
diff --git a/include/deliver_hooks.php b/include/deliver_hooks.php
deleted file mode 100644
index f8f3bb19b..000000000
--- a/include/deliver_hooks.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-
-require_once('include/cli_startup.php');
-require_once('include/zot.php');
-
-
-function deliver_hooks_run($argc,$argv) {
-
- cli_startup();
-
- $a = get_app();
-
- if($argc < 2)
- return;
-
-
- $r = q("select * from item where id = '%d'",
- intval($argv[1])
- );
- if($r)
- call_hooks('notifier_normal',$r[0]);
-
-}
-
-if (array_search(__file__,get_included_files())===0){
- deliver_hooks_run($argc,$argv);
- killme();
-}