From 1a7ea13cd40dfa97a9329c0c91004c4aaef60f3b Mon Sep 17 00:00:00 2001 From: Axel Rutz Date: Sat, 19 Apr 2014 12:48:37 +0200 Subject: [PATCH] interdiff --- includes/rules.state.inc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/includes/rules.state.inc b/includes/rules.state.inc index 3e0a133..98ef016 100644 --- a/includes/rules.state.inc +++ b/includes/rules.state.inc @@ -510,13 +510,7 @@ class RulesData { // Support asserting a type in case of generic entity references only. $var_type = &$var_info[$parts[0]]['type']; if (isset($assertion['type']) && ($var_type == 'entity' || $var_type == 'list')) { - // Get basic entity type to check that it is valid. - $contained_type = entity_property_list_extract_type($assertion['type']); - $basic_type = $contained_type ? $contained_type : $assertion['type']; - // Silently ignore invalid assertions. - if (entity_get_info($basic_type)) { - $var_type = $assertion['type']; - } + $var_type = $assertion['type']; unset($assertion['type']); } // Add any single bundle directly to the variable info, so the -- 1.7.9.5