aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-26 04:39:27 -0700
committerFriendika <info@friendika.com>2011-04-26 04:39:27 -0700
commit245a56f0c1c7db884d0bbd4265f6f74a20442748 (patch)
treeea5e62d6c635e24695975561addd6974410b22ac /include/poller.php
parent5bcd08f482584a865ba0b32f8c0efee21b836f31 (diff)
downloadvolse-hubzilla-245a56f0c1c7db884d0bbd4265f6f74a20442748.tar.gz
volse-hubzilla-245a56f0c1c7db884d0bbd4265f6f74a20442748.tar.bz2
volse-hubzilla-245a56f0c1c7db884d0bbd4265f6f74a20442748.zip
lots of facebook fixes
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php
index b5639e034..dd2efcb76 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -26,6 +26,8 @@ function poller_run($argv, $argc){
$a->set_baseurl(get_config('system','url'));
+ load_hooks();
+
logger('poller: start');
// run queue delivery process in the background
@@ -61,10 +63,12 @@ function poller_run($argv, $argc){
$sql_extra = (($manual_id) ? " AND `id` = $manual_id " : "");
+ reload_plugins();
+
$d = datetime_convert();
+
call_hooks('cron', $d);
- reload_plugins();
$contacts = q("SELECT `id` FROM `contact`
WHERE ( `rel` = %d OR `rel` = %d ) AND `poll` != ''