Merge branch 'MDL-32981-master' of github.com:FMCorz/moodle
[moodle.git] / lib / navigationlib.php
index d24b735..059e3a4 100644 (file)
@@ -2324,7 +2324,7 @@ class global_navigation extends navigation_node {
 
         $context = get_context_instance(CONTEXT_USER, $USER->id);
         if ($iscurrentuser && has_capability('moodle/user:manageownfiles', $context)) {
-            $url = new moodle_url('/user/files.php');
+            $url = new moodle_url('/user/filesedit.php');
             $usernode->add(get_string('myfiles'), $url, self::TYPE_SETTING);
         }