/[drupal]/contributions/modules/apachesolr/apachesolr.install
ViewVC logotype

Diff of /contributions/modules/apachesolr/apachesolr.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.4.24 by pwolanin, Sun Nov 15 14:52:28 2009 UTC revision 1.1.4.25 by pwolanin, Sun Nov 15 16:29:38 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: apachesolr.install,v 1.1.4.23 2009/11/13 15:07:26 pwolanin Exp $  // $Id: apachesolr.install,v 1.1.4.24 2009/11/15 14:52:28 pwolanin Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 45  function apachesolr_requirements($phase) Line 45  function apachesolr_requirements($phase)
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: 22 $';      $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));

Legend:
Removed from v.1.1.4.24  
changed lines
  Added in v.1.1.4.25

  ViewVC Help
Powered by ViewVC 1.1.3