Révision b4adf10d
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/modules/tracker/tracker.module | ||
---|---|---|
263 | 263 |
)) |
264 | 264 |
->execute(); |
265 | 265 |
|
266 |
// Create or update the user-level data. |
|
266 |
// Create or update the user-level data, first for the user posting.
|
|
267 | 267 |
db_merge('tracker_user') |
268 | 268 |
->key(array( |
269 | 269 |
'nid' => $nid, |
... | ... | |
274 | 274 |
'published' => $node->status, |
275 | 275 |
)) |
276 | 276 |
->execute(); |
277 |
// Update the times for all the other users tracking the post. |
|
278 |
db_update('tracker_user') |
|
279 |
->condition('nid', $nid) |
|
280 |
->fields(array( |
|
281 |
'changed' => $changed, |
|
282 |
'published' => $node->status, |
|
283 |
)) |
|
284 |
->execute(); |
|
277 | 285 |
} |
278 | 286 |
|
279 | 287 |
/** |
Formats disponibles : Unified diff
Udpate to 7.33