drupal-6.duplicate-permission.database.php 175 B

12345678
  1. <?php
  2. // Simulate duplicated permission condition.
  3. db_update('permission')->fields(array(
  4. 'perm' => 'access content, access content',
  5. ))
  6. ->condition('pid', 1)
  7. ->execute();