Permalink
Browse files

Remove unnecessary hook_conduit_init().

  • Loading branch information...
1 parent 7dd46c6 commit db3e944fd54a82515e733d09923c7c0a39ad0193 @boombatower committed May 30, 2012
Showing with 0 additions and 35 deletions.
  1. +0 −7 coder/drupal_coder.module
  2. +0 −14 conduit_drupal.module
  3. +0 −7 plumber/drupal_plumber.module
  4. +0 −7 scan/drupal_scan.module
View
7 coder/drupal_coder.module
@@ -59,13 +59,6 @@ function drupal_coder_conduit_queue_build(array $properties) {
}
/**
- * Implements hook_conduit_init().
- */
-function drupal_coder_conduit_init($node, $chunk_count) {
- conduit_drupal_conduit_init($node, $chunk_count);
-}
-
-/**
* Implements hook_conduit_result().
*/
function drupal_coder_conduit_result($node, $delta, $result) {
View
14 conduit_drupal.module
@@ -67,20 +67,6 @@ function conduit_drupal_conduit_default_properties() {
}
/**
- * Implements hook_conduit_init().
- */
-function conduit_drupal_conduit_init($node, $chunk_count) {
- // Empty result fields containing previous result.
- module_load_install('conduit_drupal');
- $fields = array_keys(conduit_drupal_install_fields());
- foreach ($fields as $field) {
- if (isset($node->$field)) {
- $node->{$field}[LANGUAGE_NONE] = array();
- }
- }
-}
-
-/**
* Implements hook_conduit_result().
*/
function conduit_drupal_conduit_result($node, $delta, $result) {
View
7 plumber/drupal_plumber.module
@@ -134,13 +134,6 @@ function drupal_plumber_scan_load($scan_id) {
}
/**
- * Implements hook_conduit_init().
- */
-function drupal_plumber_conduit_init($node, $chunk_count) {
- conduit_drupal_conduit_init($node, $chunk_count);
-}
-
-/**
* Implements hook_conduit_result().
*/
function drupal_plumber_conduit_result($node, $delta, $result) {
View
7 scan/drupal_scan.module
@@ -35,13 +35,6 @@ function drupal_scan_conduit_queue_build(array $properties) {
}
/**
- * Implements hook_conduit_init().
- */
-function drupal_scan_conduit_init($node, $chunk_count) {
- // Number of results cannot be predetermined.
-}
-
-/**
* Implements hook_conduit_result().
*/
function drupal_scan_conduit_result($node, $delta, $result) {

0 comments on commit db3e944

Please sign in to comment.