protected function deleteDashboard()
    {
        $this->controlAccess('dashboard_edit');

        if ($this->dashboard->delete($this->data_dashboard['dashboard_id'])) {
            $message = $this->text('Your dashboard has been reset');
            $this->redirect('', $message, 'success');
        }

        $this->redirect('admin', $this->text('Your dashboard has not been reset'), 'warning');
    }