public function removeMediaSource($sourceId)
    {
        // ensure loaded
        $this->getMediaSources();
        unset($this->mediaSources[$sourceId]);
        $tao = \common_ext_ExtensionsManager::singleton()->getExtensionById('tao');
        return $tao->setConfig(self::CONFIG_KEY, $this->mediaSources);
    }
public function removeMediaSource($sourceId)
    {
        // ensure loaded
        $this->getMediaSources();
        unset($this->mediaSources[$sourceId]);
        $tao = \common_ext_ExtensionsManager::singleton()->getExtensionById('tao');
        return $tao->setConfig(self::CONFIG_KEY, $this->mediaSources);
    }
public function removeMediaSource ( $ sourceId ) { // ensure loaded $ this -> getMediaSources ( ) ; unset ( $ this -> mediaSources [ $ sourceId ] ) ; $ tao = \ common_ext_ExtensionsManager :: singleton ( ) -> getExtensionById ( 'tao' ) ; return $ tao -> setConfig ( self :: CONFIG_KEY , $ this -> mediaSources ) ; }
Removes a media source for tao

@param string $sourceId
@return boolean
Removes a media source for tao