summaryrefslogtreecommitdiff
path: root/modules/field/field.attach.inc
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/field/field.attach.inc
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/field/field.attach.inc')
-rw-r--r--modules/field/field.attach.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc
index 3ec098db8..bddec5d53 100644
--- a/modules/field/field.attach.inc
+++ b/modules/field/field.attach.inc
@@ -1271,7 +1271,7 @@ function field_attach_extra_weight($bundle, $pseudo_field) {
*
* TODO D7: We do not yet know if this really belongs in Field API.
*/
-function field_attach_prepare_translation(stdClass $node) {
+function field_attach_prepare_translation($node) {
// Prevent against invalid 'nodes' built by broken 3rd party code.
if (isset($node->type)) {
$type = content_types($node->type);