Commit 321ee768 authored by Dries's avatar Dries
Browse files

- Patch #705116 by c960657: remove unused 'administer files' permission.

parent 17f3807f
......@@ -14,7 +14,7 @@ class FileFieldTestCase extends DrupalWebTestCase {
function setUp() {
parent::setUp('file');
$this->admin_user = $this->drupalCreateUser(array('access content', 'access administration pages', 'administer site configuration', 'administer content types', 'administer nodes', 'create article content', 'edit any article content', 'delete any article content', 'administer files'));
$this->admin_user = $this->drupalCreateUser(array('access content', 'access administration pages', 'administer site configuration', 'administer content types', 'administer nodes', 'create article content', 'edit any article content', 'delete any article content'));
$this->drupalLogin($this->admin_user);
}
......
......@@ -217,9 +217,6 @@ function system_permission() {
'administer actions' => array(
'title' => t('Administer actions'),
),
'administer files' => array(
'title' => t('Administer user-uploaded files'),
),
'access administration pages' => array(
'title' => t('Use the administration pages and help'),
),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment