function statistics_update_8300

Remove access_log settings.

File

core/modules/statistics/statistics.install, line 86

Code

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

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