Révision 136a805a
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/forum_access/forum_access.install | ||
---|---|---|
172 | 172 |
*/ |
173 | 173 |
function forum_access_update_7001() { |
174 | 174 |
// We don't need the Forum Moderator temporary role anymore. |
175 |
if ($moderator_rid = variable_get('forum_access_moderator_rid', NULL)) { |
|
175 |
if ($moderator_rid = (int) variable_get('forum_access_moderator_rid', NULL)) {
|
|
176 | 176 |
user_role_delete($moderator_rid); |
177 | 177 |
variable_del('forum_access_moderator_rid'); |
178 | 178 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules