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);
    }
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);
    }
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 ) ; }
Flags a theme as being uninstalled.
@param string $code Theme code
Flags a theme as being uninstalled .