You are here

function statistics_block_save in Drupal 7

Implements hook_block_save().

File

modules/statistics/statistics.module, line 351
Logs and displays access statistics for a site.

Code

function statistics_block_save($delta = '', $edit = array()) {
  variable_set('statistics_block_top_day_num', $edit['statistics_block_top_day_num']);
  variable_set('statistics_block_top_all_num', $edit['statistics_block_top_all_num']);
  variable_set('statistics_block_top_last_num', $edit['statistics_block_top_last_num']);
}