Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Support for new connection class name as per Drupal.org issue #1407282.

  • Loading branch information...
commit b60bcee6de8919fc60a767864d8146efcc3c2db4 1 parent 17a4201
@populist populist authored sdboyer committed
View
9 modules/pantheon/pantheon_apachesolr/pantheon_apachesolr.install
@@ -6,7 +6,7 @@
function pantheon_apachesolr_install() {
// Make our Class(es) active.
variable_set('apachesolr_service_class', 'PantheonApacheSolrService');
- variable_set('search_api_solr_service_class', 'PantheonSearchApiSolrService');
+ variable_set('search_api_solr_connection_class', 'PantheonSearchApiSolrService');
}
function pantheon_apachesolr_enable() {
@@ -20,3 +20,10 @@ function pantheon_apachesolr_disable() {
// restore stock solrserviceclass
variable_del('apachesolr_service_class');
}
+
+/**
+ * Update the Search API Solr Connection Class Variable for Pantheon Compatibility
+ */
+function pantheon_apachesolr_update_7001(&$sandbox) {
+ variable_set('search_api_solr_connection_class', 'PantheonSearchApiSolrService');
+}
Please sign in to comment.
Something went wrong with that request. Please try again.