function statistics_block_save

Implements hook_block_save().

File

modules/statistics/statistics.module, line 351

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']);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.