diff --git a/voting_rules.rules.inc b/voting_rules.rules.inc
index f4aa9c2..8a9a644 100644
--- a/voting_rules.rules.inc
+++ b/voting_rules.rules.inc
@@ -107,12 +107,9 @@ function voting_rules_rules_data_info() {
'type' => 'vote_result',
'wrap' => TRUE,
'property info' => array(
- 'vote_cache_id' => array(
- 'label' => t("Cache ID"),
- 'type' => 'integer',
- ),
'function' => array(
'label' => t("Function"),
+ 'description' => t('Function used to calculate the vote - average, count, etc'),
'type' => 'text',
),
) + $defaults,
diff --git a/voting_rules.tokens.inc b/voting_rules.tokens.inc
index d0fa7c7..94f12eb 100644
--- a/voting_rules.tokens.inc
+++ b/voting_rules.tokens.inc
@@ -44,7 +44,7 @@ function voting_rules_token_info() {
foreach ($data_info as $type => $data) {
$info['types'][$type] = array(
'name' => $data['label'],
- 'description' => isset($data['description']) ? $data['description'] : NULL,
+ 'description' => isset($data['description']) ? $data['description'] : t('No description'),
'needs-data' => $type,
);
@@ -66,7 +66,7 @@ function _voting_rules_token_data_info_recursion(&$info, $type, $data, $prefix =
if (!isset($property_info['property info'])) {
$info['tokens'][$type][$formatted_name] = array(
'name' => $property_info['label'],
- 'description' => isset($property_info['description']) ? $property_info['description'] : NULL,
+ 'description' => isset($property_info['description']) ? $property_info['description'] : t('No description'),
);
}