update core to 7.36
This commit is contained in:
@@ -263,7 +263,7 @@ function _tracker_add($nid, $uid, $changed) {
|
||||
))
|
||||
->execute();
|
||||
|
||||
// Create or update the user-level data.
|
||||
// Create or update the user-level data, first for the user posting.
|
||||
db_merge('tracker_user')
|
||||
->key(array(
|
||||
'nid' => $nid,
|
||||
@@ -274,6 +274,14 @@ function _tracker_add($nid, $uid, $changed) {
|
||||
'published' => $node->status,
|
||||
))
|
||||
->execute();
|
||||
// Update the times for all the other users tracking the post.
|
||||
db_update('tracker_user')
|
||||
->condition('nid', $nid)
|
||||
->fields(array(
|
||||
'changed' => $changed,
|
||||
'published' => $node->status,
|
||||
))
|
||||
->execute();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user