original_string: public function setUninstalled($code)
      {
          $history = Parameter::get('system::theme.history', []);
          if (array_key_exists($code, $history)) {
              unset($history[$code]);
          }
  
          Parameter::set('system::theme.history', $history);
      }
code: public function setUninstalled($code)
      {
          $history = Parameter::get('system::theme.history', []);
          if (array_key_exists($code, $history)) {
              unset($history[$code]);
          }
  
          Parameter::set('system::theme.history', $history);
      }
code_tokens: public function setUninstalled ( $ code ) { $ history = Parameter :: get ( 'system::theme.history' , [ ] ) ; if ( array_key_exists ( $ code , $ history ) ) { unset ( $ history [ $ code ] ) ; } Parameter :: set ( 'system::theme.history' , $ history ) ; }
docstring: Flags a theme as being uninstalled.
  @param string $code Theme code
docstring_tokens: Flags a theme as being uninstalled .