protected function _hasCi()
{
if ($this->getChannel() != 'pear.horde.org') {
return false;
}
$client = new Horde_Http_Client(array('request.timeout' => 15));
try {
$response = $client->get('http://ci.horde.org/job/' . str_replace('Horde_', '', $this->getName() . '/api/json'));
} catch (Horde_Http_Exception $e) {
return false;
}
return $response->code != 404;
}