Move the contact discovery into the background

This commit is contained in:
Michael Vogel
2015-07-26 14:41:34 +02:00
parent fc9c6e6bfd
commit 166519fc4d
3 changed files with 41 additions and 17 deletions

View File

@@ -86,6 +86,10 @@ function poller_run(&$argv, &$argc){
proc_run('php',"include/discover_poco.php");
// run the process to update locally stored global contacts in the background
proc_run('php',"include/discover_poco.php", "checkcontact");
// expire any expired accounts
q("UPDATE user SET `account_expired` = 1 where `account_expired` = 0