lib/magento/Package.php
public function convertChannelFromV1x($channel)
    {
        $channelMap = array(
            'connect.magentocommerce.com/community' => 'community',
            'connect.magentocommerce.com/core' => 'community'
        );
        if (!empty($channel) && isset($channelMap[$channel])) {
            $channel = $channelMap[$channel];
        }
        return $channel;
    }
public function convertChannelFromV1x($channel)
    {
        $channelMap = array(
            'connect.magentocommerce.com/community' => 'community',
            'connect.magentocommerce.com/core' => 'community'
        );
        if (!empty($channel) && isset($channelMap[$channel])) {
            $channel = $channelMap[$channel];
        }
        return $channel;
    }
public function convertChannelFromV1x ( $ channel ) { $ channelMap = array ( 'connect.magentocommerce.com/community' => 'community' , 'connect.magentocommerce.com/core' => 'community' ) ; if ( ! empty ( $ channel ) && isset ( $ channelMap [ $ channel ] ) ) { $ channel = $ channelMap [ $ channel ] ; } return $ channel ; }
Convert package channel in order for it to be compatible with current version of Magento Connect Manager

@param string $channel

@return string
Convert package channel in order for it to be compatible with current version of Magento Connect Manager