original_string: public function checkForUpdates()
      {
          Piwik::checkUserHasSomeAdminAccess();
          $this->checkTokenInUrl();
  
          // perform check (but only once every 10s)
          UpdateCheck::check($force = false, UpdateCheck::UI_CLICK_CHECK_INTERVAL);
  
          $view = new View('@CoreHome/checkForUpdates');
          $this->setGeneralVariablesView($view);
          return $view->render();
      }
code: public function checkForUpdates()
      {
          Piwik::checkUserHasSomeAdminAccess();
          $this->checkTokenInUrl();
  
          // perform check (but only once every 10s)
          UpdateCheck::check($force = false, UpdateCheck::UI_CLICK_CHECK_INTERVAL);
  
          $view = new View('@CoreHome/checkForUpdates');
          $this->setGeneralVariablesView($view);
          return $view->render();
      }
code_tokens: public function checkForUpdates ( ) { Piwik :: checkUserHasSomeAdminAccess ( ) ; $ this -> checkTokenInUrl ( ) ; // perform check (but only once every 10s) UpdateCheck :: check ( $ force = false , UpdateCheck :: UI_CLICK_CHECK_INTERVAL ) ; $ view = new View ( '@CoreHome/checkForUpdates' ) ; $ this -> setGeneralVariablesView ( $ view ) ; return $ view -> render ( ) ; }
docstring: Forces a check for updates and re-renders the header message.
  
  This will check piwik.org at most once per 10s.
docstring_tokens: Forces a check for updates and re - renders the header message .