MDL-23367 First cut at moving the private files interface under /user. Has a few small bugs, working on them.
This commit is contained in:
@@ -1532,8 +1532,8 @@ class global_navigation extends navigation_node {
|
||||
|
||||
// TODO: Private file capability check
|
||||
if ($iscurrentuser) {
|
||||
$url = new moodle_url('/blocks/private_files/edit.php');
|
||||
$usernode->add(get_string('privatefiles', 'block_private_files'), $url, self::TYPE_SETTING);
|
||||
$url = new moodle_url('/user/files.php');
|
||||
$usernode->add(get_string('myfiles'), $url, self::TYPE_SETTING);
|
||||
}
|
||||
|
||||
// Add a node to view the users notes if permitted
|
||||
|
||||
Reference in New Issue
Block a user