diff options
author | friendica <info@friendica.com> | 2014-06-06 23:56:52 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-06-06 23:56:52 -0700 |
commit | 376a51f8d8f2fd49ebbb8ac6a868cb151076db97 (patch) | |
tree | 666809a29dfb3a778786a0a0e8692e9313fa28a6 /include | |
parent | c4fc9a9cf69fd87e4ab9136e6b4eaa9b1a9266b2 (diff) | |
download | volse-hubzilla-376a51f8d8f2fd49ebbb8ac6a868cb151076db97.tar.gz volse-hubzilla-376a51f8d8f2fd49ebbb8ac6a868cb151076db97.tar.bz2 volse-hubzilla-376a51f8d8f2fd49ebbb8ac6a868cb151076db97.zip |
doc updates
Diffstat (limited to 'include')
-rw-r--r-- | include/html2bbcode.php | 2 | ||||
-rw-r--r-- | include/poller.php | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 9bb755da5..df430e6c7 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -287,4 +287,4 @@ function html2bbcode($message) return(trim($message)); } -?> + diff --git a/include/poller.php b/include/poller.php index 926deeb47..ec013c9c7 100644 --- a/include/poller.php +++ b/include/poller.php @@ -105,6 +105,9 @@ function poller_run($argv, $argc){ if($d2 != intval($d1)) { + call_hooks('cron_daily',datetime_convert()); + + $d3 = intval(datetime_convert('UTC','UTC','now','N')); if($d3 == 7) { @@ -115,6 +118,11 @@ function poller_run($argv, $argc){ * */ + + call_hooks('cron_weekly',datetime_convert()); + + + require_once('include/hubloc.php'); prune_hub_reinstalls(); @@ -204,7 +212,7 @@ function poller_run($argv, $argc){ $d = datetime_convert(); -//TODO check to see if there are any cronhooks before wasting a process + //TODO check to see if there are any cronhooks before wasting a process if(! $restart) proc_run('php','include/cronhooks.php'); |