diff options
Diffstat (limited to 'include/cronhooks.php')
-rw-r--r-- | include/cronhooks.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/cronhooks.php b/include/cronhooks.php deleted file mode 100644 index ae3806984..000000000 --- a/include/cronhooks.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php /** @file */ - -require_once('boot.php'); -require_once('include/cli_startup.php'); - - -function cronhooks_run($argc,$argv){ - - cli_startup(); - - logger('cronhooks: start'); - - $d = datetime_convert(); - - call_hooks('cron', $d); - - return; -} - -if (array_search(__file__,get_included_files())===0){ - cronhooks_run($argc,$argv); - killme(); -} |