Permalink
Browse files

Fix typos and add worker.install.

  • Loading branch information...
1 parent 67c7c75 commit 5da47a75d8ef8c60045164a382d554aa3c6fac8e @solotandem solotandem committed Sep 10, 2010
Showing with 7 additions and 7 deletions.
  1. +1 −1 conduit.info
  2. +2 −2 conduit.install
  3. +4 −4 conduit.module
View
@@ -10,7 +10,7 @@ files[] = conduit.test
files[] = includes/plugins.inc
files[] = includes/queue.inc
-files[] = plugins/server/script.inc
+files[] = plugins/server/execute.inc
dependencies[] = ctools
dependencies[] = node_reference
View
@@ -68,7 +68,7 @@ function conduit_uninstall() {
node_type_delete($type);
}
- // Purge all field infromation
+ // Purge all field information.
field_purge_batch(1000);
// Remove content type settings variables.
@@ -253,7 +253,7 @@ function conduit_install_instances() {
),
// Conduit job instances.
- 'group_conduit_group' => array(
+ 'job_conduit_group' => array(
'bundle' => 'conduit_job',
'field_name' => 'conduit_group',
'label' => $t('Group'),
View
@@ -61,7 +61,7 @@ function conduit_node_info() {
/**
* Implements hook_form().
*/
-function conduit_form($node, $form_state) {
+function conduit_form($node, &$form_state) {
return node_content_form($node, $form_state);
}
@@ -91,7 +91,7 @@ function conduit_form_alter(&$form, &$form_state, $form_id) {
$form['conduit_key'][LANGUAGE_NONE][0]['value']['#default_value'] = md5(mt_rand(1000, 1000000000));
}
- // If conduit_log field is present theat hide it.
+ // If conduit_log field is present then hide it.
if (isset($form['conduit_log'])) {
$form['conduit_log']['#access'] = FALSE;
}
@@ -162,7 +162,7 @@ function conduit_node_load($nodes, $types) {
/**
* Implements hook_validate().
*/
-function conduit_validate($node, $form = array()) {
+function conduit_validate($node, $form = array(), &$form_state) {
// Check conduit key length.
if (isset($node->conduit_key)) {
$key = $node->conduit_key[LANGUAGE_NONE][0]['value'];
@@ -208,7 +208,7 @@ function conduit_field_formatter_info() {
return array(
'conduit_properties' => array(
'label' => t('Conduit properties'),
- 'description' => t('Represent properties in an easy to read manor.'),
+ 'description' => t('Represent properties in an easy to read manner.'),
'field types' => array('text_long'),
),
);

0 comments on commit 5da47a7

Please sign in to comment.