mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
webui code cleanup
This commit is contained in:
@ -24,12 +24,12 @@ class ControllerStatCounter extends Controller {
|
||||
if(Registry::get('admin_user') == 1) {
|
||||
|
||||
if($this->request->server['REQUEST_METHOD'] == 'POST' && @$this->request->post['reset'] == 1) {
|
||||
$this->model_stat_counter->resetCounters();
|
||||
$this->model_stat_counter->reset_counters();
|
||||
header("Location: index.php?route=stat/counter");
|
||||
exit;
|
||||
}
|
||||
|
||||
$this->data['counters'] = $this->model_stat_counter->getCounters();
|
||||
$this->data['counters'] = $this->model_stat_counter->get_counters();
|
||||
|
||||
$this->data['prefix'] = '';
|
||||
|
||||
|
Reference in New Issue
Block a user