summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Davis2012-12-15 23:28:24 (GMT)
committer Ben Davis2012-12-15 23:28:24 (GMT)
commitfb36624a91d5e66ec87140bc21d93c6170b382d0 (patch)
treefeae2341615e60a505e957dd529234313a1cd66a
parent74b5be6810960fb60e10b78aa52c4af4de115975 (diff)
Removed duplicate call to _weight_get_settings().
-rw-r--r--weight.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/weight.module b/weight.module
index e6667b6..2e4d5f9 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);
}