From 4d46b7cdf838900dc3f052197b63a9ce80d3992b Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 8 Nov 2009 10:02:41 +0000 Subject: Roll-back of #595084; type-hinting parameters at stdClass makes it so you can't ever pass in another type of class. --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.module') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index b42a07bfd..6cc346368 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1500,7 +1500,7 @@ function taxonomy_field_update($obj_type, $object, $field, $instance, $langcode, /** * Implement hook_node_delete(). */ -function taxonomy_node_delete(stdClass $node) { +function taxonomy_node_delete($node) { if (variable_get('taxonomy_maintain_index_table', TRUE)) { // Clean up the {taxonomy_index} table when nodes are deleted. db_delete('taxonomy_index')->condition('nid', $node->nid)->execute(); -- cgit v1.2.3