drupal-6.duplicate-permission.database.php
File
-
modules/
simpletest/ tests/ upgrade/ drupal-6.duplicate-permission.database.php
View source
<?php
// Simulate duplicated permission condition.
db_update('permission')->fields(array(
'perm' => 'access content, access content',
))
->condition('pid', 1)
->execute();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.