You are here

function birthdays_init in Birthdays 6

Same name and namespace in other branches
  1. 5 birthdays.module \birthdays_init()

Implementation of hook_init().

File

./birthdays.module, line 128
The Birthdays module allows users to add their birthday to their profile. It lists birthdays on a seperate page and in different blocks. Users can receive an e-mail on their birthday automatically, and the administrator can receive daily reminders of…

Code

function birthdays_init() {
  global $_birthdays_field;
  $_birthdays_field = _birthdays_get_field(variable_get('birthdays_field_id', NULL));
}