public function unregister_source($id) { if (!isset($this->_registered_sources[$id])) { return false; } unset($this->_registered_sources[$id]); return true; }