cms/drupal/modules/simpletest/tests/upgrade/drupal-6.duplicate-permission.database.php
author ymh <ymh.work@gmail.com>
Mon, 19 Mar 2018 16:00:44 +0100
changeset 570 cdf0cb7bf073
parent 541 e756a8c72c3d
permissions -rwxr-xr-x
update drupal cms after security audit

<?php

// Simulate duplicated permission condition.
db_update('permission')->fields(array(
  'perm' => 'access content, access content',
))
->condition('pid', 1)
->execute();