You are here

function statistics_uninstall in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/statistics/statistics.install \statistics_uninstall()

Implements hook_uninstall().

File

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

Code

function statistics_uninstall() {

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