diff --git a/weight.module b/weight.module index e6667b6ad4d4cb5678c993884e54a51f2394cf0b..2e4d5f9215dcf102279825d27592ad8c304165ba 100644 --- a/weight.module +++ b/weight.module @@ -458,7 +458,6 @@ function _weight_set_weight($node) { } if (module_exists('translation') && $node->nid != $node->tnid) { - $settings = _weight_get_settings($node->type); if ($settings['sync_translations']) { $weight = _weight_get_weight($node->tnid); }