security update core+modules
This commit is contained in:
30
sites/all/modules/date/date_views/date_views.install
Normal file
30
sites/all/modules/date/date_views/date_views.install
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Install, update and uninstall functions for the Date Views module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_install().
|
||||
*/
|
||||
function date_views_install() {
|
||||
variable_set('date_views_month_format_with_year', 'F Y');
|
||||
variable_set('date_views_month_format_without_year', 'F');
|
||||
variable_set('date_views_day_format_with_year', 'l, F j, Y');
|
||||
variable_set('date_views_day_format_without_year', 'l, F j');
|
||||
variable_set('date_views_week_format_with_year', 'F j, Y');
|
||||
variable_set('date_views_week_format_without_year', 'F j');
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_uninstall().
|
||||
*/
|
||||
function date_views_uninstall() {
|
||||
variable_del('date_views_month_format_with_year');
|
||||
variable_del('date_views_month_format_without_year');
|
||||
variable_del('date_views_day_format_with_year');
|
||||
variable_del('date_views_day_format_without_year');
|
||||
variable_del('date_views_week_format_with_year');
|
||||
variable_del('date_views_week_format_without_year');
|
||||
}
|
Reference in New Issue
Block a user