public function remove_component() { $ret = true; $original_comps = TethAutoloader::$components; $comp_name = 'core'; TethAutoloader::remove_component('core'); if (isset(TethAutoloader::$components[$comp_name])) { $this->results['remove_component']['removed'] = $ret = false; } else { $this->results['remove_component']['removed'] = true; } TethAutoloader::$components = $original_comps; return $ret; }