Révision 13c3c9b4
Ajouté par Assos Assos il y a environ 9 ans
drupal7/sites/all/modules/advanced_forum/includes/mark-read.inc | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 |
|
|
4 | 3 |
/** |
5 | 4 |
* @file |
6 | 5 |
* Holds functions relating to the Mark Forum/All Read functionality. |
... | ... | |
49 | 48 |
if (isset($tid)) { |
50 | 49 |
$query_node->condition('f.tid', $tid); |
51 | 50 |
} |
52 |
|
|
51 |
|
|
53 | 52 |
$query_node->condition('t.vid', $vid); |
54 | 53 |
$query_node->addField('n', 'nid'); |
55 | 54 |
// Select query objects are one-shot, so clone for INSERT below. |
... | ... | |
85 | 84 |
global $user; |
86 | 85 |
return user_access('access content') && $user->uid; |
87 | 86 |
} |
88 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules