public function resetLayout()
    {
        $this->checkTokenInUrl();
        if (Piwik::isUserIsAnonymous()) {
            $session = new SessionNamespace("Dashboard");
            $session->dashboardLayout = $this->dashboard->getDefaultLayout();
            $session->setExpirationSeconds(1800);
        } else {
            Request::processRequest('Dashboard.resetDashboardLayout');
        }
    }
public function resetLayout()
    {
        $this->checkTokenInUrl();
        if (Piwik::isUserIsAnonymous()) {
            $session = new SessionNamespace("Dashboard");
            $session->dashboardLayout = $this->dashboard->getDefaultLayout();
            $session->setExpirationSeconds(1800);
        } else {
            Request::processRequest('Dashboard.resetDashboardLayout');
        }
    }
public function resetLayout ( ) { $ this -> checkTokenInUrl ( ) ; if ( Piwik :: isUserIsAnonymous ( ) ) { $ session = new SessionNamespace ( "Dashboard" ) ; $ session -> dashboardLayout = $ this -> dashboard -> getDefaultLayout ( ) ; $ session -> setExpirationSeconds ( 1800 ) ; } else { Request :: processRequest ( 'Dashboard.resetDashboardLayout' ) ; } }
Resets the dashboard to the default widget configuration
Resets the dashboard to the default widget configuration