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);
    }