original_string: public function afterFetch()
      {
          if (
              ($theme = Theme::getEditTheme())
              && ($themeMap = array_get($this->attributes, 'theme_map'))
              && ($cmsPage = array_get($themeMap, $theme->getDirName()))
          ) {
              $this->cms_page = $cmsPage;
          }
          else {
              $this->is_enabled = false;
          }
      }
code: public function afterFetch()
      {
          if (
              ($theme = Theme::getEditTheme())
              && ($themeMap = array_get($this->attributes, 'theme_map'))
              && ($cmsPage = array_get($themeMap, $theme->getDirName()))
          ) {
              $this->cms_page = $cmsPage;
          }
          else {
              $this->is_enabled = false;
          }
      }
code_tokens: public function afterFetch ( ) { if ( ( $ theme = Theme :: getEditTheme ( ) ) && ( $ themeMap = array_get ( $ this -> attributes , 'theme_map' ) ) && ( $ cmsPage = array_get ( $ themeMap , $ theme -> getDirName ( ) ) ) ) { $ this -> cms_page = $ cmsPage ; } else { $ this -> is_enabled = false ; } }
docstring: Restore the CMS page found in the mapping array, or disable the
  maintenance mode.
  @return void
docstring_tokens: Restore the CMS page found in the mapping array or disable the maintenance mode .