You are here

function statistics_update_8300 in Drupal 8

Remove access_log settings.

File

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

Code

function statistics_update_8300() {
  \Drupal::configFactory()
    ->getEditable('statistics.settings')
    ->clear('access_log')
    ->save();
}