original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Convert package channel in order for it to be compatible with current version of Magento Connect Manager
  
  @param string $channel
  
  @return string
docstring_tokens: Convert package channel in order for it to be compatible with current version of Magento Connect Manager