diff options
author | Friendika <info@friendika.com> | 2011-03-09 02:12:32 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-09 02:12:32 -0800 |
commit | 32e96d2647b4f535bf329caf160336f3358ce423 (patch) | |
tree | 655706734e18bbbb6710a0ea8d58dc11676d349b /include/poller.php | |
parent | 5f54503780ac6f94bbfe2692682aab5355673d16 (diff) | |
download | volse-hubzilla-32e96d2647b4f535bf329caf160336f3358ce423.tar.gz volse-hubzilla-32e96d2647b4f535bf329caf160336f3358ce423.tar.bz2 volse-hubzilla-32e96d2647b4f535bf329caf160336f3358ce423.zip |
reload plugins if they change
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/poller.php b/include/poller.php index fd02e0198..a093190a6 100644 --- a/include/poller.php +++ b/include/poller.php @@ -47,6 +47,11 @@ function poller_run($argv, $argc){ $sql_extra = (($manual_id) ? " AND `id` = $manual_id " : ""); + $d = datetime_convert(); + call_hooks('cron', $d); + + reload_plugins(); + $contacts = q("SELECT `id` FROM `contact` WHERE ( `rel` = %d OR `rel` = %d ) AND `poll` != '' $sql_extra |