/[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.18.2.7 by robertDouglass, Fri Nov 20 13:38:10 2009 UTC revision 1.1.4.18.2.8 by robertDouglass, Fri Nov 20 13:50:09 2009 UTC
# Line 1  Line 1 
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
# 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: 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));

Legend:
Removed from v.1.1.4.18.2.7  
changed lines
  Added in v.1.1.4.18.2.8

  ViewVC Help
Powered by ViewVC 1.1.3