You are here

function hijri_init in Hijri 7

Implements hook_init().

File

./hijri.module, line 76
This module convert to Hijri date in nodes,comments and a block.

Code

function hijri_init() {
  if (variable_get('hijri_datetype_value') == 'hijir_solar') {
    variable_set('hijri_correction_value', 0);
  }
}