Skip to content
Browse files

add cron integration

  • Loading branch information...
1 parent 4bdb9fd commit 0fdbcc4f2ea440ed6e754f17cb1a2e78f4ca26fb @webflo webflo committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 plugins/SearchlightBackendSolr.inc
View
7 plugins/SearchlightBackendSolr.inc
@@ -582,6 +582,13 @@ class SearchlightBackendSolr extends SearchlightBackend {
return drush_log("/{$file_path} could not be written to.", 'error');
}
}
+
+ /**
+ * Execute functionality on drush cron run.
+ */
+ function drushCron() {
+ $this->drushIndex();
+ }
/**
* From the apachsolr module.

0 comments on commit 0fdbcc4

Please sign in to comment.
Something went wrong with that request. Please try again.