update to D 7.17

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-12-08 11:35:42 +01:00
parent 975d758599
commit 5396b3e2b5
284 changed files with 3674 additions and 1854 deletions

View File

@@ -258,3 +258,17 @@ db_insert('vocabulary_node_types')->fields(array(
))
->execute();
// Provide all users with the ability to create forum topics.
$results = db_select('permission', 'p')
->fields('p')
->execute();
foreach ($results as $result) {
$permissions = $result->perm . ', create forum topics';
db_update('permission')
->fields(array(
'perm' => $permissions,
))
->condition('rid', $result->rid)
->execute();
}