Commit 0f956d42 authored by Dries's avatar Dries

- Patch #321166 by gpk, drewish, Damien Tournoud: removed redundant function upload_menu_alter().

parent 2cea471b
......@@ -102,10 +102,6 @@ function upload_menu() {
return $items;
}
function upload_menu_alter(&$items) {
$items['system/files']['access arguments'] = array('view uploaded files');
}
/**
* Determine the limitations on files that a given user may upload. The user
* may be in multiple roles so we select the most permissive limitations from
......
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