Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
321ee768
Commit
321ee768
authored
Feb 05, 2010
by
Dries
Browse files
- Patch
#705116
by c960657: remove unused 'administer files' permission.
parent
17f3807f
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/file/tests/file.test
View file @
321ee768
...
...
@@ -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
);
}
...
...
modules/system/system.module
View file @
321ee768
...
...
@@ -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'
),
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment