original_string: public function load_blocks($includeinvisible = null) {
          $origcontext = $this->page->context;
          $this->page->context = context_system::instance();
          parent::load_blocks($includeinvisible);
          $this->page->context = $origcontext;
      }
code: public function load_blocks($includeinvisible = null) {
          $origcontext = $this->page->context;
          $this->page->context = context_system::instance();
          parent::load_blocks($includeinvisible);
          $this->page->context = $origcontext;
      }
code_tokens: public function load_blocks ( $ includeinvisible = null ) { $ origcontext = $ this -> page -> context ; $ this -> page -> context = context_system :: instance ( ) ; parent :: load_blocks ( $ includeinvisible ) ; $ this -> page -> context = $ origcontext ; }
docstring: Load blocks using the system context, rather than the user's context.
  
  This is needed because the My Moodle pages set the page context to the
  user's context for access control, etc.  But the blocks for the system
  pages are stored in the system context.
docstring_tokens: Load blocks using the system context rather than the user s context .