| 1 |
<?php |
<?php |
| 2 |
// $Id: apachesolr.install,v 1.1.4.18.2.6 2009/11/20 11:37:36 robertDouglass Exp $ |
// $Id: apachesolr.install,v 1.1.4.18.2.7 2009/11/20 13:38:10 robertDouglass Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 45 |
// All phases |
// All phases |
| 46 |
$title = $t('Apache Solr PHP Client Library'); |
$title = $t('Apache Solr PHP Client Library'); |
| 47 |
if ($file_exists) { |
if ($file_exists) { |
| 48 |
$expected_revision = '$Revision: 1.1.4.18.2.6 $'; |
$expected_revision = 'Revision: 22'; |
| 49 |
require_once 'SolrPhpClient/Apache/Solr/Service.php'; |
require_once 'SolrPhpClient/Apache/Solr/Service.php'; |
| 50 |
$revision = defined('Apache_Solr_Service::SVN_REVISION') ? Apache_Solr_Service::SVN_REVISION : ''; |
$revision = defined('Apache_Solr_Service::SVN_REVISION') ? trim(Apache_Solr_Service::SVN_REVISION, ' $') : ''; |
| 51 |
if ($revision == $expected_revision) { |
if ($revision == $expected_revision) { |
| 52 |
$severity = REQUIREMENT_OK; |
$severity = REQUIREMENT_OK; |
| 53 |
$value = $t('Correct version "@expected".', array('@expected' => $expected_revision)); |
$value = $t('Correct version "@expected".', array('@expected' => $expected_revision)); |