modified file w3-total-cache

This commit is contained in:
2024-03-28 09:40:10 +00:00
committed by Gitium
parent 218272bbcb
commit 34dbbce9b4
3707 changed files with 392891 additions and 166170 deletions

View File

@ -0,0 +1,23 @@
<?php
namespace W3TC;
class UsageStatistics_AdminActions {
private $_config = null;
public function __construct() {
$this->_config = Dispatcher::config();
}
public function w3tc_ustats_note_disable() {
$this->_config->set( 'stats.enabled', false );
$this->_config->save();
Util_Admin::redirect( array(), true );
}
}