Skip to content
Snippets Groups Projects

Resolves 3119131: remove duplicated tracker update, added (int) type hint

1 file
+ 1
8
Compare changes
  • Side-by-side
  • Inline
@@ -330,14 +330,7 @@ function _tracker_remove($nid, $uid = NULL, $changed = NULL) {
$connection->update('tracker_node')
->fields([
'changed' => $changed,
'published' => $node->isPublished(),
])
->condition('nid', $nid)
->execute();
$connection->update('tracker_node')
->fields([
'changed' => $changed,
'published' => $node->isPublished(),
'published' => (int) $node->isPublished(),
])
->condition('nid', $nid)
->execute();
Loading