aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-10-17 16:37:37 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-10-17 16:37:37 +0200
commit2116943964e0c10984976f6d38eba044e35f983a (patch)
treec351abcd1ccd033c36b472f73d087a8343ee638d /include/poller.php
parent906addf865ccab2c98d5035fc6c1b10d43004dfe (diff)
parent1df892ebbce59ac6293eacbe065ebc71826b4d85 (diff)
downloadvolse-hubzilla-2116943964e0c10984976f6d38eba044e35f983a.tar.gz
volse-hubzilla-2116943964e0c10984976f6d38eba044e35f983a.tar.bz2
volse-hubzilla-2116943964e0c10984976f6d38eba044e35f983a.zip
Merge remote-tracking branch 'friendika/master'
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php
index 427f8887c..cef0647b5 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -50,12 +50,15 @@ function poller_run($argv, $argc){
- // once daily run expire in background
+ // once daily run birthday_updates and then expire in background
$d1 = get_config('system','last_expire_day');
$d2 = intval(datetime_convert('UTC','UTC','now','d'));
if($d2 != intval($d1)) {
+
+ update_contact_birthdays();
+
set_config('system','last_expire_day',$d2);
proc_run('php','include/expire.php');
}