reload plugins if they change

This commit is contained in:
Friendika
2011-03-09 02:12:32 -08:00
parent 5f54503780
commit 32e96d2647
4 changed files with 62 additions and 5 deletions

View File

@@ -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