summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-08 10:02:41 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-08 10:02:41 +0000
commit4d46b7cdf838900dc3f052197b63a9ce80d3992b (patch)
treeb3ea3efb3c29a98afb8724c5655b82864395b928 /modules/taxonomy/taxonomy.module
parent370d07e9f75bf5ebdd6ac87de0f0b956d3f8dabd (diff)
downloadbrdo-4d46b7cdf838900dc3f052197b63a9ce80d3992b.tar.gz
brdo-4d46b7cdf838900dc3f052197b63a9ce80d3992b.tar.bz2
Roll-back of #595084; type-hinting parameters at stdClass makes it so you can't ever pass in another type of class.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
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();