aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-14 00:20:37 -0700
committerFriendika <info@friendika.com>2011-10-14 00:20:37 -0700
commitaf6ab381000346f487d1b5b07623510640dd7ee5 (patch)
tree4cbe000aa2f095a01a7439bb07d793b2fc04b364 /include/poller.php
parent05e26e489580c82d0db237771d159aed287c5f9b (diff)
downloadvolse-hubzilla-af6ab381000346f487d1b5b07623510640dd7ee5.tar.gz
volse-hubzilla-af6ab381000346f487d1b5b07623510640dd7ee5.tar.bz2
volse-hubzilla-af6ab381000346f487d1b5b07623510640dd7ee5.zip
diaspora birthday notifications
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');
}