You are here

function file_download_counter_uninstall in File Download 8

Implements hook_uninstall().

File

modules/file_download_counter/file_download_counter.install, line 11
Install and update functions for the Statistics module.

Code

function file_download_counter_uninstall() {

  // Remove states.
  \Drupal::state()
    ->delete('file_download.node_counter_scale');
  \Drupal::state()
    ->delete('file_download.day_timestamp');
}